From 46eb0991f449965a99a2c2245c59a974e159787b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Tue, 18 May 2021 16:07:46 +0200 Subject: [PATCH] Fix equality comparison with proper /bin/sh syntax --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 6888686..45b710c 100755 --- a/build.sh +++ b/build.sh @@ -158,9 +158,9 @@ done # Set default values KALI_ARCH=${KALI_ARCH:-$HOST_ARCH} -if [ "$KALI_ARCH" == "x64" ]; then +if [ "$KALI_ARCH" = "x64" ]; then KALI_ARCH="amd64" -elif [ "$KALI_ARCH" == "x86" ]; then +elif [ "$KALI_ARCH" = "x86" ]; then KALI_ARCH="i386" fi debug "KALI_ARCH: $KALI_ARCH"