From e5b08a2984891a9893f437369a8cf62acdc339bc Mon Sep 17 00:00:00 2001 From: Yunchu Lee Date: Fri, 30 Aug 2024 09:47:56 +0900 Subject: [PATCH] update script to allow setting otx version using env. variable --- docker/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/build.sh b/docker/build.sh index 5888516d481..1de65b88d01 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -# shellcheck disable=SC2154 +# shellcheck disable=SC2154,SC2035,SC2046 -OTX_VERSION=$(python -c 'import otx; print(otx.__version__)') +OTX_VERSION ? =$(python -c 'import otx; print(otx.__version__)') THIS_DIR=$(dirname "$0") echo "Build OTX ${OTX_VERSION} CUDA Docker image..."