Browse Source

delete old temporary files of previous run, in case it aborts

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 10 years ago
parent
commit
b66aa23b56
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/update-patches2

+ 1 - 0
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