nginx_build_script: enhance: add comments and update README
This commit is contained in:
parent
42aab2a5d9
commit
f90338f45f
@ -36,11 +36,23 @@ while [ ${#} -gt 0 ]; do
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
--nginx-tag=* )
|
||||
NGINX_TAG="${1#*=}" # Specify Nginx Mercurial Tag
|
||||
case $NGINX_TAG in
|
||||
"")
|
||||
echo "ERROR: --nginx-tag= is empty!"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
```
|
||||
|
||||
#### Note :
|
||||
|
@ -22,7 +22,7 @@ while [ ${#} -gt 0 ]; do
|
||||
esac
|
||||
;;
|
||||
--nginx-tag=* )
|
||||
NGINX_TAG="${1#*=}"
|
||||
NGINX_TAG="${1#*=}" # Specify Nginx Mercurial Tag
|
||||
case $NGINX_TAG in
|
||||
"")
|
||||
echo "ERROR: --nginx-tag= is empty!"
|
||||
|
Loading…
Reference in New Issue
Block a user