aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-30 13:10:35 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-30 13:10:35 -0500
commitdb27f0b60c851db013aa9a730b9b4f71ce25f004 (patch)
treee1ada371b2f38d2cf2b387570a256fba22c2ba90
parentc3e49dbd8212bafa4296f61eb892fdc704495915 (diff)
downloadcortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.tar.gz
cortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.tar.zst
cortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.zip
fix rust-src check
-rw-r--r--ci/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 442e1c4..f978160 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -3,8 +3,10 @@ set -ex
main() {
case $TARGET in
thumbv*-none-eabi*)
- cargo install --list | grep xargo || cargo install xargo
- rustup component list | grep rust-src || rustup component add rust-src
+ cargo install --list | grep xargo || \
+ cargo install xargo
+ rustup component list | grep 'rust-src.*installed' || \
+ rustup component add rust-src
;;
esac
}