removed path delimeter at end of output path

git-svn-id: trunk@6337 -
This commit is contained in:
vincents 2004-12-06 12:46:00 +00:00
parent 5f69b871f5
commit b9a12fba65

View File

@ -510,7 +510,9 @@ begin
end;
if NewTargetDirectory<>'' then
AppendExtraOption('-FE'+NewTargetDirectory);
// FPC interpretes '\ ' as an escape for a space in a path,
// so make sure the directory doesn't end with the path delimeter.
AppendExtraOption('-FE'+ChompPathDelim(NewTargetDirectory));
if NewTargetFilename<>'' then begin
// FPC automatically changes the last extension (append or replace)