diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 9a9d70e3..b87eb925 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -463,7 +463,7 @@ build_libretro_mame_modern() { echo "cd \"$build_dir\"" cd "$build_dir" - if [ "$IOS" ]; then + if [ -n "$IOS" ]; then if [ -z "$NOCLEAN" ]; then echo "$MAKE -f Makefile.libretro \"TARGET=$2\" \"PARTIAL=$3\" platform=\"$FORMAT_COMPILER_TARGET\" CC=\"$CC\" CXX=\"$CXX\" \"-j$JOBS\" clean" $MAKE -f Makefile.libretro "TARGET=$2" "PARTIAL=$3" platform="$FORMAT_COMPILER_TARGET" CC="$CC" CXX="$CXX" "-j$JOBS" clean || die 'Failed to clean MAME' diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index c9cc93cb..9030b8be 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -16,5 +16,4 @@ fi # The iOS build rules have all been moved to libretro-build.sh -platform=ios -${BASE_DIR}/libretro-build.sh $@ +platform=ios ${BASE_DIR}/libretro-build.sh $@