From 8ee951b524627d2966aebf6ef793748c393eabd8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 16 Mar 2016 10:58:25 +0100 Subject: temporäres Verzeichnis in refreshexecutableunit.pas wieder löschen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- refreshexecutableunit.pas | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.2.3-70-g09d2