summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-07-24 16:03:38 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-07-24 16:03:38 +0200
commit9199ed490fef44dcdc9ceaa001a32b7b74d079f5 (patch)
treedd07afb8af45f710b22ea26e18da7eb33f02c28a
parentc0f70eaf8df86cbe2f2314daec7fd0a07abcea75 (diff)
downloadrust-9199ed490fef44dcdc9ceaa001a32b7b74d079f5.tar.gz
rust-9199ed490fef44dcdc9ceaa001a32b7b74d079f5.tar.xz
rust: don't bootstrap nightly with beta
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/dev-lang/rust/rust-build.exlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-lang/rust/rust-build.exlib b/packages/dev-lang/rust/rust-build.exlib
index 0089b2d..65671a8 100644
--- a/packages/dev-lang/rust/rust-build.exlib
+++ b/packages/dev-lang/rust/rust-build.exlib
@@ -77,7 +77,7 @@ rust-build_get_bootstrap_slot() {
return
fi
- [[ ${SLOT} == stable ]] || candidates+=(beta)
+ [[ ${SLOT} == beta ]] && candidates+=(beta)
[[ ${SLOT} == nightly ]] || candidates+=(stable)
for s in "${candidates[@]}"; do