From 9e28b30d7373c58143db2eb4236cc4c9c1b58d08 Mon Sep 17 00:00:00 2001 From: RocFang Date: Fri, 19 Nov 2021 14:42:14 +0800 Subject: [PATCH] chore: move the cleaning of temporary patches to right place --- util/mirror-tarballs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/mirror-tarballs b/util/mirror-tarballs index 8aa4209..2a45c7d 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -448,8 +448,6 @@ if [ "$answer" = "Y" ]; then fi fi -rm -f *.patch || exit 1 - answer=`$root/util/ver-ge "$main_ver" 1.17.8` if [ "$answer" = "Y" ]; then answer=`$root/util/ver-ge "$main_ver" 1.21.0` @@ -515,6 +513,8 @@ echo cp $root/html/index.html docs/html/ || exit 1 cp $root/html/50x.html docs/html/ || exit 1 +rm -f *.patch || exit 1 + cd .. || exit 1 cp $root/patches/nginx-$main_ver-no_pool.patch ./nginx-no_pool.patch || exit 1