Fix a bug when run docker_build.sh with one input
This commit is contained in:
parent
f8f62b75c7
commit
16d08bf241
@ -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