From 8d3cbf7f634bf7a9d4f6ca3bc00a2d271a0dbeb7 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sat, 21 Feb 2015 16:55:31 -0800 Subject: [PATCH] Fix for spaces in your PWD. --- libretro-fetch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index ff1d52d7..9622fbe1 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -3,7 +3,7 @@ SCRIPT="${0#./}" BASE_DIR="${SCRIPT%/*}" -WORKDIR=$(pwd) +WORKDIR="$PWD" if [ "$BASE_DIR" = "$SCRIPT" ]; then BASE_DIR="$WORKDIR" @@ -14,8 +14,8 @@ else fi fi -. $BASE_DIR/libretro-config.sh -. $BASE_DIR/script-modules/fetch-rules.sh +. "$BASE_DIR/libretro-config.sh" +. "$BASE_DIR/script-modules/fetch-rules.sh" # Keep three copies so we don't have to rebuild stuff all the time.