do not leave temp files after the diffing is done
authorrobert <robert@openbsd.org>
Sat, 22 Apr 2017 13:42:05 +0000 (13:42 +0000)
committerrobert <robert@openbsd.org>
Sat, 22 Apr 2017 13:42:05 +0000 (13:42 +0000)
distrib/syspatch/diff.sh

index 1203b6f..bd14dbf 100755 (executable)
@@ -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