upgraded the nginx core to 1.9.7.

This commit is contained in:
Yichun Zhang (agentzh)
2015-11-24 22:37:40 +08:00
parent d996a90c14
commit 83eeb14f6c
18 changed files with 2342 additions and 3 deletions

View File

@ -13,6 +13,10 @@ if [ ! -d nginx/.git ]; then
exit 1
fi
cd nginx || exit 1
git pull --force || exit 1
cd .. || exit 1
rm -rf nginx-$ver
rm -f nginx-$ver.tar.gz
git clone nginx nginx-$ver || exit 1
@ -26,5 +30,5 @@ rm -rf src/mysql || exit 1
cd ..
tar czvf nginx-$ver.tar.gz nginx-$ver || exit 1
ls -lh ./nginx-$ver.tar.gz
ls -lh ~/work/nginx-$ver.tar.gz
#ls -lh ~/work/nginx-$ver.tar.gz
scp nginx-$ver.tar.gz agentzh.org:~/www/agentzh/misc/nginx/