external tools are now searched in PATH

git-svn-id: trunk@3425 -
This commit is contained in:
mattias 2002-10-01 15:45:55 +00:00
parent c5786f8b63
commit 1ad9311c59

View File

@ -1115,6 +1115,13 @@ var
SearchPath: string;
Delim: char;
begin
if FilenameIsAbsolute(Programname) then begin
if FileExists(Programname) then
Result:=Programname
else
Result:='';
exit;
end;
Flags:=[];
if not WithBaseDirectory then
Include(Flags,sffDontSearchInBasePath);