mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
lazbuild: fixed compile an ide when clean all is set
This commit is contained in:
parent
4022919f1a
commit
c9c3d54bf2
@ -393,8 +393,20 @@ var
|
||||
end;
|
||||
|
||||
function Run(CurTitle: string): TModalResult;
|
||||
var
|
||||
Cmds: TStrings;
|
||||
begin
|
||||
AddCmdLineParam(Cmd,false);
|
||||
if Pos(' ',Cmd)>0 then
|
||||
begin
|
||||
Cmds:=TStringList.Create;
|
||||
try
|
||||
SplitCmdLineParams(Cmd,Cmds);
|
||||
CmdLineParams.AddStrings(Cmds);
|
||||
finally
|
||||
Cmds.Free;
|
||||
end;
|
||||
end else
|
||||
CmdLineParams.Add(Cmd);
|
||||
Tool:=ExternalToolList.Add(CurTitle);
|
||||
Tool.Reference(Self,ClassName);
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user