devops: fix typo in rustup detection (#3282)

This should bring back docker build.
This commit is contained in:
Andrey Lushnikov 2020-08-04 00:02:14 -07:00 committed by GitHub
parent d3a40be479
commit 25089760fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,8 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
if [[ $1 == "--juggler" ]]; then
./mach build faster
else
# TODO: rust is not in the PATH on Windows
if command -v rust >/dev/null; then
# TODO: rustup is not in the PATH on Windows
if command -v rustup >/dev/null; then
# We manage Rust version ourselves.
echo "-- Using rust v${RUST_VERSION}"
rustup default "${RUST_VERSION}"