Update util/mirror-tarballs
This commit is contained in:
parent
fb89742f47
commit
20371d6401
|
@ -27,7 +27,7 @@ cd nginx-$ver || exit 1
|
||||||
# patch the patch
|
# patch the patch
|
||||||
|
|
||||||
cp $root/patches/nginx-$main_ver-server_header.patch server_header.patch || exit 1
|
cp $root/patches/nginx-$main_ver-server_header.patch server_header.patch || exit 1
|
||||||
sed -i $"s/NGINX_VERSION \".unknown\"/NGINX_VERSION \".$minor_ver\"/" \
|
sed -i '' $"s/NGINX_VERSION \".unknown\"/NGINX_VERSION \".$minor_ver\"/" \
|
||||||
server_header.patch || exit 1
|
server_header.patch || exit 1
|
||||||
|
|
||||||
patch -p2 < server_header.patch || exit 1
|
patch -p2 < server_header.patch || exit 1
|
||||||
|
@ -61,7 +61,7 @@ rm -f *.patch || exit 1
|
||||||
cd .. || exit 1
|
cd .. || exit 1
|
||||||
|
|
||||||
cp $root/patches/nginx-$main_ver-no_pool.patch ./nginx-no_pool.patch || exit 1
|
cp $root/patches/nginx-$main_ver-no_pool.patch ./nginx-no_pool.patch || exit 1
|
||||||
sed -i $"s/NGINX_VERSION \".unknown/NGINX_VERSION \".$minor_ver/" \
|
sed -i '' $"s/NGINX_VERSION \".unknown/NGINX_VERSION \".$minor_ver/" \
|
||||||
./nginx-no_pool.patch || exit 1
|
./nginx-no_pool.patch || exit 1
|
||||||
rm -rf no-pool-nginx-$ver
|
rm -rf no-pool-nginx-$ver
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue