devops: fix typo in rustup detection (#3282)
This should bring back docker build.
This commit is contained in:
parent
d3a40be479
commit
25089760fd
|
|
@ -44,8 +44,8 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
|
||||||
if [[ $1 == "--juggler" ]]; then
|
if [[ $1 == "--juggler" ]]; then
|
||||||
./mach build faster
|
./mach build faster
|
||||||
else
|
else
|
||||||
# TODO: rust is not in the PATH on Windows
|
# TODO: rustup is not in the PATH on Windows
|
||||||
if command -v rust >/dev/null; then
|
if command -v rustup >/dev/null; then
|
||||||
# We manage Rust version ourselves.
|
# We manage Rust version ourselves.
|
||||||
echo "-- Using rust v${RUST_VERSION}"
|
echo "-- Using rust v${RUST_VERSION}"
|
||||||
rustup default "${RUST_VERSION}"
|
rustup default "${RUST_VERSION}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue