Explorar el Código

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

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser hace 10 años
padre
commit
b66aa23b56
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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