Fix a bug when run docker_build.sh with one input
This commit is contained in:
parent
2e35ef4490
commit
acdc9148dc
@ -2,7 +2,7 @@
|
||||
|
||||
if [ "$#" -gt 1 ]; then
|
||||
exit 1
|
||||
elif [ "$#" -gt 1 ]; then
|
||||
elif [ "$#" -eq 1 ]; then
|
||||
BUILD_ARG="--build-arg VERSION=$1"
|
||||
else
|
||||
BUILD_ARG=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user