Skip to content

Commit

Permalink
Make sure rustup submodule is present when syncing (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 authored Sep 22, 2023
1 parent 132c379 commit 65e6619
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUSTUP_SCRIPT="$(curl -s https://rustup.rs \
'{s#^ *<pre class="rustup-command">\(.*\)</pre>$#\1#p;T;q}'
)"
[ "$RUSTUP_SCRIPT" = "$RUSTUP_CURL | sh" ] || e "RUSTUP_CURL is out of sync"
git submodule update --init third_party/rust-lang/rustup
eval "$RUSTUP_CURL" \
| diff - third_party/rust-lang/rustup/rustup-init.sh >/dev/null \
|| e 'rustup submodule is out of sync'

0 comments on commit 65e6619

Please sign in to comment.