summaryrefslogtreecommitdiff
path: root/refreshexecutableunit.pas
diff options
context:
space:
mode:
Diffstat (limited to 'refreshexecutableunit.pas')
-rw-r--r--refreshexecutableunit.pas7
1 files changed, 7 insertions, 0 deletions
diff --git a/refreshexecutableunit.pas b/refreshexecutableunit.pas
index 7c046dc..50da0a7 100644
--- a/refreshexecutableunit.pas
+++ b/refreshexecutableunit.pas
@@ -61,6 +61,13 @@ begin
end;
end;
end;
+ if (tmpDir<>'') and directoryexists(tmpDir) then begin
+ setlength(args,2);
+ args[0]:='-rf';
+ args[1]:=tmpDir;
+ runCommand('rm',args,output);
+ end;
+ setlength(args,0);
end;
end.