mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 05:12:10 +02:00
* fpc: don't search for compiler binary in current directory when paramstr(0)
does not contain a path (unless the current directory is also in the PATH) git-svn-id: trunk@44395 -
This commit is contained in:
parent
3b8979210d
commit
429b3744c4
@ -94,7 +94,7 @@ program fpc;
|
||||
ppcbin:=extrapath+ppcbin;
|
||||
findexe:=true;
|
||||
end
|
||||
else if FileExists(path+ppcbin) then
|
||||
else if (path<>'') and FileExists(path+ppcbin) then
|
||||
begin
|
||||
ppcbin:=path+ppcbin;
|
||||
findexe:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user