mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +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
|
||||
BASE_DIR="$WORKDIR"
|
||||
else
|
||||
if [[ "$0" != /* ]]; then
|
||||
# Make the path absolute
|
||||
BASE_DIR="$WORKDIR/$BASE_DIR"
|
||||
fi
|
||||
fi
|
||||
|
||||
. $BASE_DIR/libretro-config.sh
|
||||
. $BASE_DIR/iKarith-super/fetch-rules.sh # will rename this dir later
|
||||
|
Loading…
Reference in New Issue
Block a user