chore: move the cleaning of temporary patches to right place

This commit is contained in:
RocFang 2021-11-19 14:42:14 +08:00
parent 7e1cf985cf
commit 9e28b30d73
1 changed files with 2 additions and 2 deletions

View File

@ -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