mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +00:00
Fix for spaces in your PWD.
This commit is contained in:
parent
6b703d4284
commit
8d3cbf7f63
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user