Merge pull request #179 from iKarith/master
Bugfix for running fetch in subdirs from a script
This commit is contained in:
commit
2baf39c18f
|
@ -8,7 +8,10 @@ WORKDIR=$(pwd)
|
||||||
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
||||||
BASE_DIR="$WORKDIR"
|
BASE_DIR="$WORKDIR"
|
||||||
else
|
else
|
||||||
BASE_DIR="$WORKDIR/$BASE_DIR"
|
if [[ "$0" != /* ]]; then
|
||||||
|
# Make the path absolute
|
||||||
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. $BASE_DIR/libretro-config.sh
|
. $BASE_DIR/libretro-config.sh
|
||||||
|
|
Loading…
Reference in New Issue