summaryrefslogtreecommitdiff
path: root/distrib/syspatch
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2017-04-22 13:42:06 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2017-04-22 13:42:06 +0000
commit2f395dfb2e5756339225ebdf1f3d63d78e4408a0 (patch)
tree724ac40b530ab8a4e427c0f607fe12e81a1e34ee /distrib/syspatch
parent9c9f3b6918acd8d3f3d5aef96883df54097fc588 (diff)
do not leave temp files after the diffing is done
Diffstat (limited to 'distrib/syspatch')
-rwxr-xr-xdistrib/syspatch/diff.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/syspatch/diff.sh b/distrib/syspatch/diff.sh
index 1203b6f80c8..bd14dbf8cb3 100755
--- a/distrib/syspatch/diff.sh
+++ b/distrib/syspatch/diff.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: diff.sh,v 1.1 2017/04/22 13:41:02 robert Exp $
+# $OpenBSD: diff.sh,v 1.2 2017/04/22 13:42:05 robert Exp $
#
# Copyright (c) 2017 Robert Nagy <robert@openbsd.org>
#
@@ -45,5 +45,5 @@ do
echo ${_n}
;;
esac
- rm -f ${_onm} ${_nnm}
+ rm -f ${_o} ${_n}
done