mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:29:26 +02:00
* Do not show full path in backup-message
* Skip path-creation when output is set to stdout git-svn-id: trunk@17186 -
This commit is contained in:
parent
dc5f4b038d
commit
739ea3720c
@ -493,9 +493,9 @@ begin
|
|||||||
Halt(1);
|
Halt(1);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Writeln(Format(SBackupCreated,[OutputFileName,BFN]));
|
Writeln(Format(SBackupCreated,[ExtractFileName(OutputFileName),ExtractFileName(BFN)]));
|
||||||
end;
|
end;
|
||||||
if not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
if (OutputFileName<>'') and not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
||||||
begin
|
begin
|
||||||
if CreateDir then
|
if CreateDir then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user