Merge pull request #198 from iKarith/master

Fix for spaces in your PWD.
This commit is contained in:
Twinaphex 2015-02-22 02:08:11 +01:00
commit 8999c74976

View File

@ -3,7 +3,7 @@
SCRIPT="${0#./}" SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}" BASE_DIR="${SCRIPT%/*}"
WORKDIR=$(pwd) WORKDIR="$PWD"
if [ "$BASE_DIR" = "$SCRIPT" ]; then if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR" BASE_DIR="$WORKDIR"
@ -14,8 +14,8 @@ else
fi fi
fi fi
. $BASE_DIR/libretro-config.sh . "$BASE_DIR/libretro-config.sh"
. $BASE_DIR/script-modules/fetch-rules.sh . "$BASE_DIR/script-modules/fetch-rules.sh"
# Keep three copies so we don't have to rebuild stuff all the time. # Keep three copies so we don't have to rebuild stuff all the time.