mirror of
https://github.com/libretro/libretro-super
synced 2024-12-03 01:01:51 +00:00
Bugfix for running fetch in subdirs from a script
This commit is contained in:
parent
265b837c2f
commit
0b060f1a61
@ -8,8 +8,11 @@ WORKDIR=$(pwd)
|
|||||||
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
||||||
BASE_DIR="$WORKDIR"
|
BASE_DIR="$WORKDIR"
|
||||||
else
|
else
|
||||||
|
if [[ "$0" != /* ]]; then
|
||||||
|
# Make the path absolute
|
||||||
BASE_DIR="$WORKDIR/$BASE_DIR"
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
. $BASE_DIR/libretro-config.sh
|
. $BASE_DIR/libretro-config.sh
|
||||||
. $BASE_DIR/iKarith-super/fetch-rules.sh # will rename this dir later
|
. $BASE_DIR/iKarith-super/fetch-rules.sh # will rename this dir later
|
||||||
|
Loading…
Reference in New Issue
Block a user