Explorar o código

* Use ExeSearch instead of FileSearch to find compiler executable

git-svn-id: trunk@12948 -
joost %!s(int64=16) %!d(string=hai) anos
pai
achega
d4c2a35c75
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/utils/fpc.pp

+ 1 - 1
compiler/utils/fpc.pp

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