From 4540e8d6a63a74579858b81f6c1cb241eca0d06a Mon Sep 17 00:00:00 2001 From: TroggleMonkey Date: Fri, 16 May 2014 13:54:50 -0400 Subject: [PATCH] Fix x86_64 detection in Git Bash on Windows, along with this error: libretro-config.sh: line 20: AMD64=AMD64: command not found --- libretro-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-config.sh b/libretro-config.sh index dffc37f4..90ca902e 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -17,7 +17,7 @@ case "$ARCH" in esac;; esac -if [[ -n "$PROCESSOR_ARCHITEW6432" ]] && $PROCESSOR_ARCHITEW6432="AMD64"; then +if [[ -n "$PROCESSOR_ARCHITEW6432" && $PROCESSOR_ARCHITEW6432 -eq "AMD64" ]]; then ARCH=x86_64 X86=true && X86_64=true fi