This is an automated email from the ASF dual-hosted git repository.

vinayakumarb pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a1f5dc58651 Minor, fix cpu arch compare to use correct Dockerfile 
(#6852)
a1f5dc58651 is described below

commit a1f5dc58651ea95765068da96138734046a0a875
Author: Tengting Xu <x...@apache.org>
AuthorDate: Thu Jun 13 03:07:28 2024 +0800

    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 375a027a06b..3db4fb0663e 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
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to