From: robert Date: Sat, 22 Apr 2017 13:42:05 +0000 (+0000) Subject: do not leave temp files after the diffing is done X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1947100d910bcca9370d3c8345efd97c4445a5f0;p=openbsd do not leave temp files after the diffing is done --- 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 # @@ -45,5 +45,5 @@ do echo ${_n} ;; esac - rm -f ${_onm} ${_nnm} + rm -f ${_o} ${_n} done