From a1f5dc58651ea95765068da96138734046a0a875 Mon Sep 17 00:00:00 2001 From: Tengting Xu Date: Thu, 13 Jun 2024 03:07:28 +0800 Subject: [PATCH] Minor, fix cpu arch compare to use correct Dockerfile (#6852) --- start-build-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-build-env.sh b/start-build-env.sh index 375a027a06..3db4fb0663 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -23,7 +23,7 @@ DOCKER_DIR=dev-support/docker DOCKER_FILE="${DOCKER_DIR}/Dockerfile" CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1) -if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then +if [[ "$CPU_ARCH" == "aarch64" || "$CPU_ARCH" == "arm64" ]]; then DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64" fi