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