Skip to content

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

Open
@pefribeiro

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pefribeiro

        Issue actions

          Use of readlink in bin/build.sh not portable to BSD/OSX. · Issue #7 · isabelle-utp/utp-main