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,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}/iKarith-libretro-config.sh
|
||||
|
@ -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/iKarith-libretro-config.sh
|
||||
|
Loading…
Reference in New Issue
Block a user