wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

Install script error (tiny)

Open nuke-web3 opened this issue 3 years ago • 0 comments

$ 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`

https://github.com/rustwasm/wasm-pack/blob/e7d57690b47f8575dfbf0dd9a0f04539d0af4936/docs/_installer/init.sh#L139

On Pop!_OS 22.04 LTS

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

nuke-web3 avatar Jul 23 '22 15:07 nuke-web3