Skip to content

[minor] use SHIP_BIN_DIR instead of HERE#3469

Merged
briaguya0 merged 1 commit intodevelopfrom
unknown repository
Dec 27, 2023
Merged

[minor] use SHIP_BIN_DIR instead of HERE#3469
briaguya0 merged 1 commit intodevelopfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost 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

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

@briaguya0 briaguya0 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.

2 participants