summaryrefslogtreecommitdiffstats
path: root/infest/bin/make-patch
diff options
context:
space:
mode:
authortv <tv@also>2011-07-22 14:15:54 +0200
committertv <tv@also>2011-07-22 14:15:54 +0200
commita280b750c4ec051cd89208b1ae823abbf894e17b (patch)
tree6df902e2536749be84cb654dc75c893ee3c8e396 /infest/bin/make-patch
parent4711007535169368dbef79fa1d97919305ab88d4 (diff)
mv tempfile mktemp
Diffstat (limited to 'infest/bin/make-patch')
-rwxr-xr-xinfest/bin/make-patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/infest/bin/make-patch b/infest/bin/make-patch
index e2ef0ca0..1051c1aa 100755
--- a/infest/bin/make-patch
+++ b/infest/bin/make-patch
@@ -1,7 +1,7 @@
#! /bin/sh
-t="`tempfile`"
-p="`tempfile`"
+t="`mktemp`"
+p="`mktemp`"
trap "test -e $t && rm $t; test -e $p && rm $p" EXIT INT
f=/etc/passwd