summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-07-26 13:55:57 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-07-26 13:56:19 +0200
commit33b3ae40946579909a535de3773984a8edcc4b47 (patch)
tree2e4a2a2066be319a77db3478d92bf4ecb65d69cf
parentd3a2e2f89acac09b951c44e5b6c6702c3c03c8a3 (diff)
downloadrust-33b3ae40946579909a535de3773984a8edcc4b47.tar.gz
rust-33b3ae40946579909a535de3773984a8edcc4b47.tar.xz
rust: force re-download of bootstrap compiler when needed
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/dev-lang/rust/rust-build.exlib1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/dev-lang/rust/rust-build.exlib b/packages/dev-lang/rust/rust-build.exlib
index 7f09eea..64f7fab 100644
--- a/packages/dev-lang/rust/rust-build.exlib
+++ b/packages/dev-lang/rust/rust-build.exlib
@@ -108,6 +108,7 @@ rust-build_src_fetch_extra() {
export PATH="${PATH}:${path}"
done
for snap in ${RUSTC_SNAPSHOT} ${STD_SNAPSHOT} ${CARGO_SNAPSHOT}; do
+ edo rm -f "${FETCHEDDIR}/${snap}.tar.gz"
dohttps "https://static.rust-lang.org/dist/${RUST_DATE}/${snap}.tar.gz" "${FETCHEDDIR}/${snap}.tar.gz"
done
export PATH="${old_path}"