Skip to content

Install script error (tiny) #1159

Closed
@nuke-web3

Description

@nuke-web3
$ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

sh: 139: [: x86_64: unexpected operator
info: downloading wasm-pack
info: successfully installed wasm-pack to `.../.cargo/bin/wasm-pack`

if [ "$_cputype" == "aarch64" ] && [ "$_ostype" == "apple-darwin" ]; then

On Pop!_OS 22.04 LTS

No error in bash , but the curl uses sh (rightly so IMHO)

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

    Issue actions