* 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:
joost 2011-03-27 11:07:21 +00:00
parent dc5f4b038d
commit 739ea3720c

View File

@ -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