Skip to content

[minor] use SHIP_BIN_DIR instead of HERE #3469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

pirate486743186
Copy link
Contributor

@pirate486743186 pirate486743186 commented Nov 29, 2023

Unexpected to use HERE there, it complicates editing the script to move stuff around by users. This way, you can just delete HERE and just edit the path variables without understanding what the whole script does.

Build Artifacts

@@ -23,7 +23,7 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do
do
if [[ -e $romfile ]]; then
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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export SHIP_BIN_DIR="$HERE/usr/bin"

LGTM

@briaguya-ai briaguya-ai merged commit 3f61fbc into HarbourMasters:develop Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants