From acdc9148dc242a4ab07e2912ff4861214846bb6c Mon Sep 17 00:00:00 2001 From: LINxiansheng Date: Wed, 3 Jan 2024 12:06:20 +0000 Subject: [PATCH] Fix a bug when run docker_build.sh with one input --- tools/docker/standalone/docker_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/standalone/docker_build.sh b/tools/docker/standalone/docker_build.sh index cb1031a134..e9c62a41b1 100755 --- a/tools/docker/standalone/docker_build.sh +++ b/tools/docker/standalone/docker_build.sh @@ -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=""