Fix a bug when run docker_build.sh with one input

This commit is contained in:
LINxiansheng 2024-01-03 12:06:20 +00:00 committed by ob-robot
parent 2e35ef4490
commit acdc9148dc

View File

@ -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=""