From 80191787a9924a848296341d63b1aaabce83e629 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Tue, 17 Feb 2015 16:04:25 -0800 Subject: [PATCH] Fix for work paths with spaces in them. *sigh* --- libretro-build-common.sh | 4 ++-- libretro-build-ios.sh | 4 ++-- libretro-build.sh | 4 ++-- libretro-config.sh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index d9b938a8..b932a05f 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -143,7 +143,7 @@ build_libretro_generic_makefile() { build_dir="${WORKDIR}/libretro-${1}" if [ -d "$build_dir" ]; then echo "=== Building ${1} ===" - build_libretro_generic $1 $2 $3 $4 $build_dir + build_libretro_generic $1 $2 $3 $4 "$build_dir" copy_core_to_dist $1 else echo "${1} not fetched, skipping ..." @@ -154,7 +154,7 @@ build_retroarch_generic_makefile() { build_dir="${WORKDIR}/${1}" if [ -d "$build_dir" ]; then echo "=== Building ${2} ===" - build_libretro_generic $1 $2 $3 $4 $build_dir + build_libretro_generic $1 $2 $3 $4 "$build_dir" copy_core_to_dist $5 else echo "${1} not fetched, skipping ..." diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index de886c73..b2b2f5d3 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -106,7 +106,7 @@ echo "CXX11 = $CXX11" echo "STRIP = $STRIP" -. $BASE_DIR/libretro-build-common.sh +. "$BASE_DIR/libretro-build-common.sh" mkdir -p "$RARCH_DIST_DIR" @@ -185,6 +185,6 @@ else if [ $FORMAT_COMPILER_TARGET != "ios" ]; then build_libretro_testgl fi - build_summary fi +build_summary diff --git a/libretro-build.sh b/libretro-build.sh index 351f9582..5cd2be44 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -104,7 +104,7 @@ echo "CXX11 = $CXX11" echo "STRIP = $STRIP" -. $BASE_DIR/libretro-build-common.sh +. "$BASE_DIR/libretro-build-common.sh" mkdir -p "$RARCH_DIST_DIR" @@ -183,6 +183,6 @@ else if [ $FORMAT_COMPILER_TARGET != "ios" ]; then build_libretro_testgl fi - build_summary fi +build_summary diff --git a/libretro-config.sh b/libretro-config.sh index b8e10747..57d0e7d8 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -206,7 +206,7 @@ BUILD_SUMMARY="$WORKDIR/build-summary.log" #local libretro-config-user.sh file rather than here. #The following below is just a sample. -if [ -f "${WORKDIR}/libretro-config-user.sh" ]; then - . ${WORKDIR}/libretro-config-user.sh +if [ -f "$WORKDIR/libretro-config-user.sh" ]; then + . "$WORKDIR/libretro-config-user.sh" fi