summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 13:00:26 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 15:02:32 +0200
commitb66aa23b5661650340eadfb619d305989f7f8eec (patch)
treeb63f68b0a9aa31176fc842962a3a8044370707a3 /scripts
parent15055071e180f96a4309bf93d7a6dc923fdad22f (diff)
delete old temporary files of previous run, in case it aborts
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/update-patches21
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update-patches2 b/scripts/update-patches2
index 2b8349bcf..5b95f33f9 100644
--- a/scripts/update-patches2
+++ b/scripts/update-patches2
@@ -22,6 +22,7 @@ PATCH_LIST='patch-* *.patch'
CURDIR=$PWD
export CURDIR PATCH_LIST
+rm -f patches/*.new
mksh "${TOPDIR}"/scripts/update-patches |&
first=1
set -A toedit