File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,13 +237,13 @@ __docker_build()
237237 cp .dockerignore{,.bak}
238238 sed -i ' /flow\/platforms/d' .dockerignore
239239 fi
240- options=" "
241- if [ -n " ${WITH_VERIFIC} " ]; then
240+ local options=()
241+ if [ " ${WITH_VERIFIC} " -eq 1 ]; then
242242 cp -r " ${VERIFIC_SRC} " tools/verific
243- options=" -buildArgs=--build-arg verificPath=tools/verific"
243+ options=( " -buildArgs=--build-arg verificPath=tools/verific" )
244244 fi
245245 ./etc/DockerHelper.sh create -target=dev -os=" ${DOCKER_OS_NAME} " -threads=" ${PROC} "
246- ./etc/DockerHelper.sh create -target=builder -os=" ${DOCKER_OS_NAME} " -threads=" ${PROC} " " ${options} "
246+ ./etc/DockerHelper.sh create -target=builder -os=" ${DOCKER_OS_NAME} " -threads=" ${PROC} " " ${options[@] } "
247247 rm -rf tools/verific
248248 if [ ! -z " ${DOCKER_COPY_PLATFORMS+x} " ]; then
249249 mv .dockerignore{.bak,}
You can’t perform that action at this time.
0 commit comments