From f2bdeca834b3693cc2b52b255d9f0148b334dadf Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 11 Jun 2003 11:45:57 +0000 Subject: [PATCH] external tools are now searched in PATH git-svn-id: trunk@4257 - --- ide/exttooldialog.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/exttooldialog.pas b/ide/exttooldialog.pas index 36c3b319b1..f50fcb0e69 100644 --- a/ide/exttooldialog.pas +++ b/ide/exttooldialog.pas @@ -274,8 +274,9 @@ begin if Macros.SubstituteStr(Filename) and Macros.SubstituteStr(WorkingDir) and Macros.SubstituteStr(Params) then begin + Filename:=FindProgram(Filename,GetCurrentDir,false); CmdLine:=Filename; - if Params<>'' then + if Params<>'' then CmdLine:=CmdLine+' '+Params; writeln('[TExternalToolList.Run] ',CmdLine); try