* Always notice when an external command is executed

* Do not change the current dir in ResolveFileNames when this is already done

git-svn-id: trunk@20762 -
This commit is contained in:
joost 2012-04-08 19:44:46 +00:00
parent f8ab6e8adb
commit d6033c7890

View File

@ -4424,6 +4424,7 @@ begin
C.BeforeCommand(C);
O:=ADictionary.Substitute(C.CmdLineOptions,['SOURCE',SourceFile,'DEST',DestFile]);
Log(vlCommand,SInfoExecutingCommand,[Cmd,O]);
ExecuteCommand(Cmd,O,nil,C.IgnoreResult);
If Assigned(C.AfterCommand) then
C.AfterCommand(C);
@ -4932,7 +4933,7 @@ begin
If Assigned(APackage.BeforeCompileProc) then
APackage.BeforeCompileProc(APackage);
// It could be that files that weren't found before are available now.
ResolveFileNames(APackage,Defaults.CPU,Defaults.OS,true,true);
ResolveFileNames(APackage,Defaults.CPU,Defaults.OS,false,true);
end;