Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

./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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants