mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +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);
|
||||
end
|
||||
else
|
||||
Writeln(Format(SBackupCreated,[OutputFileName,BFN]));
|
||||
Writeln(Format(SBackupCreated,[ExtractFileName(OutputFileName),ExtractFileName(BFN)]));
|
||||
end;
|
||||
if not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
||||
if (OutputFileName<>'') and not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
||||
begin
|
||||
if CreateDir then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user