mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 16:28:24 +02:00
+ -o now sets output path only if a path is explicitly specified
git-svn-id: trunk@1698 -
This commit is contained in:
parent
735281f879
commit
0362fa505d
@ -872,12 +872,14 @@ begin
|
||||
if More<>'' then
|
||||
begin
|
||||
{$IFDEF USE_SYSUTILS}
|
||||
OutputExeDir:=SplitPath(More);
|
||||
D:=SplitPath(More);
|
||||
OutputFile:=SplitFileName(More);
|
||||
OutputExtension:=SplitExtension(More);
|
||||
{$ELSE USE_SYSUTILS}
|
||||
FSplit(More,OutputExeDir,OutputFile,OutputExtension);
|
||||
FSplit(More,D,OutputFile,OutputExtension);
|
||||
{$ENDIF USE_SYSUTILS}
|
||||
if (D<>'') then
|
||||
OutputExeDir:=FixPath(D,True);
|
||||
end
|
||||
else
|
||||
IllegalPara(opt);
|
||||
|
Loading…
Reference in New Issue
Block a user