From c8e9f850ec5d6b23d67011dcdcfd1e5bdda846c4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Jul 2013 17:59:37 +0200 Subject: [PATCH] Make equals signs in conditionals more backwards compatible with old shells --- libretro-build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libretro-build.sh b/libretro-build.sh index a844ee36..8f80605a 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -123,9 +123,9 @@ if [ "$HOST_CC" ]; then fi if [ -z "$MAKE" ]; then - if [ $FORMAT_COMPILER_TARGET == "osx" ]; then + if [ $FORMAT_COMPILER_TARGET = "osx" ]; then MAKE=make - elif [ "$(expr substr $(uname -s) 1 7)" == "MINGW32" ]; then + elif [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then MAKE=mingw32-make else MAKE=make @@ -133,9 +133,9 @@ if [ -z "$MAKE" ]; then fi if [ -z "$CC" ]; then - if [ $FORMAT_COMPILER_TARGET == "osx" ]; then + if [ $FORMAT_COMPILER_TARGET = "osx" ]; then CC=clang - elif [ "$(expr substr $(uname -s) 1 7)" == "MINGW32" ]; then + elif [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then CC=mingw32-gcc else CC=gcc @@ -143,9 +143,9 @@ if [ -z "$CC" ]; then fi if [ -z "$CXX" ]; then - if [ $FORMAT_COMPILER_TARGET == "osx" ]; then + if [ $FORMAT_COMPILER_TARGET = "osx" ]; then CXX=clang++ - elif [ "$(expr substr $(uname -s) 1 7)" == "MINGW32" ]; then + elif [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then CXX=mingw32-g++ else CXX=g++