* Use ExeSearch instead of FileSearch to find compiler executable

git-svn-id: trunk@12948 -
This commit is contained in:
joost 2009-03-22 10:03:03 +00:00
parent 51b49d324e
commit d4c2a35c75

View File

@ -98,7 +98,7 @@ program fpc;
end
else
begin
path:=FileSearch(ppcbin,getenvironmentvariable('PATH'));
path:=ExeSearch(ppcbin,getenvironmentvariable('PATH'));
if path<>'' then
begin
ppcbin:=path;