summaryrefslogtreecommitdiff
path: root/lib-src/vcdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/vcdiff')
-rwxr-xr-xlib-src/vcdiff4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/vcdiff b/lib-src/vcdiff
index 86b80bcdacd..cb977709db0 100755
--- a/lib-src/vcdiff
+++ b/lib-src/vcdiff
@@ -84,14 +84,14 @@ do
case $f in
s.* | */s.*)
if
- rev1=/tmp/geta$$
+ rev1=`mktemp /tmp/geta.XXXXXXXX`
get -s -p -k $sid1 "$f" > $rev1 &&
case $sid2 in
'')
workfile=`expr " /$f" : '.*/s.\(.*\)'`
;;
*)
- rev2=/tmp/getb$$
+ rev2=`mktemp /tmp/getb.XXXXXXXX`
get -s -p -k $sid2 "$f" > $rev2
workfile=$rev2
esac