summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-03-08 13:26:25 +0100
committerErich Eckner <git@eckner.net>2016-03-15 13:01:16 +0100
commit4968f44f277c1428e9bf18201b605550c5d86c84 (patch)
treede63ebf0b43fc213c2c9b05fe4ce5306b00defe5
parent839175b39e4086921af3ed81de9ff4840216a5bc (diff)
downloadunits-4968f44f277c1428e9bf18201b605550c5d86c84.tar.xz
absoluten Pfad von mktemp entfernt
-rw-r--r--systemunit.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemunit.pas b/systemunit.pas
index a716d43..6b858b2 100644
--- a/systemunit.pas
+++ b/systemunit.pas
@@ -143,8 +143,8 @@ begin
args[length(args)-1]:=erstesArgument(s);
end;
result:='';
- if not runCommand('/usr/bin/mktemp',args,result) then
- raise exception.create('Fehler beim Ausführen von ''/usr/bin/mktemp '+s+'''!');
+ if not runCommand('mktemp',args,result) then
+ raise exception.create('Fehler beim Ausführen von ''mktemp '+s+'''!');
result:=trim(result);
end;