From 000e6e5fca3d16bdf59d6ac44b8bf6436851cd07 Mon Sep 17 00:00:00 2001 From: Cecile Tonglet Date: Mon, 21 Sep 2020 15:04:19 +0200 Subject: [PATCH] Use ~/.cargo/bin instead of /usr/local/bin --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 2ec891e..1e41217 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] publish = "public" -command = "curl -sSL https://sh.rustup.rs | sh -s -- -q -y && export PATH=$HOME/.cargo/bin:$PATH && curl -sSL https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz | tar xzO wasm-pack-v0.9.1-x86_64-unknown-linux-musl/wasm-pack > /usr/local/bin/wasm-pack && chmod +x /usr/local/bin/wasm-pack && ./build.sh" +command = "curl -sSL https://sh.rustup.rs | sh -s -- -q -y && export PATH=$HOME/.cargo/bin:$PATH && curl -sSL https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz | tar xzO wasm-pack-v0.9.1-x86_64-unknown-linux-musl/wasm-pack > $HOME/.cargo/bin/wasm-pack && chmod +x $HOME/.cargo/bin/wasm-pack && ./build.sh"