浏览代码

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

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 11 年之前
父节点
当前提交
b66aa23b56
共有 1 个文件被更改,包括 1 次插入0 次删除
  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