Fix equality comparison with proper /bin/sh syntax

merge-requests/16/head
Raphaël Hertzog 4 years ago
parent 7dd011be60
commit 46eb0991f4
No known key found for this signature in database
GPG Key ID: 03881DABEBC29AB9

@ -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"

Loading…
Cancel
Save