Skip to content
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

./bootstrap.sh: realpath isn't available on all devices #74

Open
chrisyxlee opened this issue Apr 22, 2022 · 2 comments
Open

./bootstrap.sh: realpath isn't available on all devices #74

chrisyxlee opened this issue Apr 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@chrisyxlee
Copy link
Member

chrisyxlee commented Apr 22, 2022

Specifically, Mac OS doesn't have realpath available without additional downloads, so Bindl should not rely on it.

❯ ./bootstrap.sh
[bootstrap] Hello! The sole purpose of my existence is to bootstrap bindl.
./bootstrap.sh: line 45: realpath: command not found
@chrisyxlee chrisyxlee added the bug Something isn't working label Apr 22, 2022
@chrisyxlee
Copy link
Member Author

🤔 Weirdly it started working after I ran make bin/bindl-min.

@wilsonehusin
Copy link
Member

🤔 Weirdly it started working after I ran make bin/bindl-min.

bindl/bootstrap.sh

Lines 47 to 50 in c718d35

if [ $exe == $dst ]; then
log "Found ${PROGRAM_NAME} in ${OUTDIR}, my job here is done."
exit 0
fi

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants