mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-21 08:55:04 -05:00
use SHIP_BIN_DIR instead of HERE (#3469)
This commit is contained in:
parent
dc4347253d
commit
3f61fbc5f6
@ -23,7 +23,7 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do
|
|||||||
do
|
do
|
||||||
if [[ -e "$romfile" ]] || [[ -L "$romfile" ]]; then
|
if [[ -e "$romfile" ]] || [[ -L "$romfile" ]]; then
|
||||||
export ASSETDIR="$(mktemp -d /tmp/assets-XXXXX)"
|
export ASSETDIR="$(mktemp -d /tmp/assets-XXXXX)"
|
||||||
ln -s "$HERE"/usr/bin/{assets,soh.elf,ZAPD} "$ASSETDIR"
|
ln -s "$SHIP_BIN_DIR"/{assets,soh.elf,ZAPD} "$ASSETDIR"
|
||||||
export OLDPWD="$PWD"
|
export OLDPWD="$PWD"
|
||||||
mkdir -p "$ASSETDIR"/tmp
|
mkdir -p "$ASSETDIR"/tmp
|
||||||
if [[ -e "$romfile" ]]; then
|
if [[ -e "$romfile" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user