diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/linux/appimage/soh.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/linux/appimage/soh.sh b/scripts/linux/appimage/soh.sh index 384311d4c..b8de73641 100644 --- a/scripts/linux/appimage/soh.sh +++ b/scripts/linux/appimage/soh.sh @@ -9,6 +9,10 @@ if [ -z ${SHIP_HOME+x} ]; then export SHIP_HOME=$PWD fi +if [ -z ${SHIP_BIN_DIR+x} ]; then +export SHIP_BIN_DIR="$HERE/usr/bin" +fi + while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do for romfile in "$SHIP_HOME"/*.*64 do @@ -95,10 +99,10 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do rm -r "$ASSETDIR" exit else - (cd "$HERE/usr/bin"; ./soh.elf) + (cd "$SHIP_BIN_DIR"; ./soh.elf) exit fi rm -r "$ASSETDIR" done - (cd "$HERE/usr/bin"; ./soh.elf) + (cd "$SHIP_BIN_DIR"; ./soh.elf) exit |
