Skip to content

Building instructions fail on Ubuntu 24.04 LTS because /bin/sh is not bash #1

Description

@hkockerbeck

The build.sh script uses a special feature of bash that's not necessarily available in other shells, namely pipefail. But /bin/sh on Ubuntu isn't bash, but a stripped down shell named dash (and has been for quite some time). So the command given in the README fails. Instead of sh build.sh && sh install.sh, you need to do ./build.sh && ./install.sh (because the respective shebang is referencing bash), or explicitly bash build.sh && install.sh.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions