diff --git a/nginx_build_script/README.md b/nginx_build_script/README.md index 10535b5..a43b5e3 100644 --- a/nginx_build_script/README.md +++ b/nginx_build_script/README.md @@ -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 : diff --git a/nginx_build_script/build.sh b/nginx_build_script/build.sh index b9da7f1..8f71eb7 100644 --- a/nginx_build_script/build.sh +++ b/nginx_build_script/build.sh @@ -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!"