summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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