mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 20:14:22 +00:00
Add absolute/relative path bugfix to my scripts
This commit is contained in:
parent
a9bda03302
commit
3ee02549dd
@ -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}/iKarith-libretro-config.sh
|
. ${BASE_DIR}/iKarith-libretro-config.sh
|
||||||
|
|
||||||
|
@ -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/iKarith-libretro-config.sh
|
. $BASE_DIR/iKarith-libretro-config.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user