fix bug in build-container.sh
This commit is contained in:
@@ -5,7 +5,7 @@ cd $(dirname "$0")
|
|||||||
ARCH=$1
|
ARCH=$1
|
||||||
|
|
||||||
# List of allowed architectures
|
# List of allowed architectures
|
||||||
ALLOWED_ARCHS=("intel" "vulkan" "musa" "cuda", "cpu")
|
ALLOWED_ARCHS=("intel" "vulkan" "musa" "cuda" "cpu")
|
||||||
|
|
||||||
# Check if ARCH is in the allowed list
|
# Check if ARCH is in the allowed list
|
||||||
if [[ ! " ${ALLOWED_ARCHS[@]} " =~ " ${ARCH} " ]]; then
|
if [[ ! " ${ALLOWED_ARCHS[@]} " =~ " ${ARCH} " ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user