Skip to content

Install script does not work using sh, needs bash #1527

@TomasoAlbinoni

Description

@TomasoAlbinoni

🐛 Bug description

curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
does not work. Error: sh: 21: Syntax error: "(" unexpected (expecting "fi")

🤔 Expected Behavior

Install script should have run.

👟 Steps to reproduce

Run
curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh

🌍 Your environment

Ubuntu. Using bash instead will work:
curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | bash

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