This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,13 @@ else
165
165
fi
166
166
echo " Installing Rust..."
167
167
# Download and verify rustup sha
168
- mkdir -p /tmp/rustup/target/x86_64 -unknown-linux-gnu/release/
168
+ mkdir -p /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/
169
169
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init" -o /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/rustup-init
170
170
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init.sha256" -o /tmp/rustup/rustup-init.sha256
171
171
cd /tmp/rustup
172
172
sha256sum -c rustup-init.sha256
173
- chmod +x target/x86_64 -unknown-linux-gnu/release/rustup-init
174
- target/x86_64 -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
173
+ chmod +x target/${download_architecture} -unknown-linux-gnu/release/rustup-init
174
+ target/${download_architecture} -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
175
175
cd ~
176
176
rm -rf /tmp/rustup
177
177
fi
You can’t perform that action at this time.
0 commit comments