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

Use of readlink in bin/build.sh not portable to BSD/OSX. #7

Open
pefribeiro opened this issue Mar 21, 2018 · 0 comments
Open

Use of readlink in bin/build.sh not portable to BSD/OSX. #7

pefribeiro opened this issue Mar 21, 2018 · 0 comments

Comments

@pefribeiro
Copy link
Contributor

Just getting my isabelle-utp installation up to date with the 2017 version of Isabelle.

I really like the build script, but I've found a minor issue which may be worth having in mind in the future:readlink -f is not portable to BSD/OSX-land. Not sure what else to suggest given the difficulty of emulating this. An alternative is to install the GNU version of readlink.

ISABELLE_UTP=${ISABELLE_UTP:-$(readlink -f $(dirname $0))/..}

Instead, I set export ISABELLE_UTP=`pwd` from my clone folder of the repo and then ran the bin/build.sh file just fine.

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

No branches or pull requests

1 participant