diff options
author | Erich Eckner <git@eckner.net> | 2016-03-16 10:58:25 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-03-16 10:58:25 +0100 |
commit | 8ee951b524627d2966aebf6ef793748c393eabd8 (patch) | |
tree | 967898f6ca8d9c04c30a801953e0bd101690a9c4 | |
parent | b0f205894c62f0353aff4a7137cbd9da47bec656 (diff) | |
download | units-8ee951b524627d2966aebf6ef793748c393eabd8.tar.xz |
temporäres Verzeichnis in refreshexecutableunit.pas wieder löschen
-rw-r--r-- | refreshexecutableunit.pas | 7 |
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. |