summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2017-04-22 13:42:05 +0000
committerrobert <robert@openbsd.org>2017-04-22 13:42:05 +0000
commit1947100d910bcca9370d3c8345efd97c4445a5f0 (patch)
tree535e7a317047208f42962ad011951a17a89ae835
parentAdd a small shell script to be used by syspatch to diff the fake root (diff)
downloadwireguard-openbsd-1947100d910bcca9370d3c8345efd97c4445a5f0.tar.xz
wireguard-openbsd-1947100d910bcca9370d3c8345efd97c4445a5f0.zip
do not leave temp files after the diffing is done
-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