Skip to content

Commit e59355b

Browse files
committed
Untabify rustup.sh
1 parent 03ad7e7 commit e59355b

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/etc/rustup.sh

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -368,20 +368,20 @@ HOST_TRIPLE="${CFG_CPUTYPE}-${CFG_OSTYPE}"
368368
# Is this a triple we have nightlies for?
369369
case $HOST_TRIPLE in
370370

371-
x86_64-unknown-linux-gnu)
372-
;;
371+
x86_64-unknown-linux-gnu)
372+
;;
373373

374-
i686-unknown-linux-gnu)
375-
;;
374+
i686-unknown-linux-gnu)
375+
;;
376376

377-
x86_64-apple-darwin)
378-
;;
377+
x86_64-apple-darwin)
378+
;;
379379

380-
i686-apple-darwin)
381-
;;
380+
i686-apple-darwin)
381+
;;
382382

383-
*)
384-
err "rustup.sh doesn't work for host $HOST_TRIPLE"
383+
*)
384+
err "rustup.sh doesn't work for host $HOST_TRIPLE"
385385

386386
esac
387387

@@ -414,8 +414,8 @@ msg "downloading rust installer"
414414
"${CFG_CURL}" "${REMOTE_TARBALL}" > "${LOCAL_TARBALL}"
415415
if [ $? -ne 0 ]
416416
then
417-
rm -Rf "${TMP_DIR}"
418-
err "failed to download installer"
417+
rm -Rf "${TMP_DIR}"
418+
err "failed to download installer"
419419
fi
420420

421421
if [ -z "${CFG_DISABLE_CARGO}" ]; then
@@ -432,27 +432,27 @@ fi
432432
(cd "${TMP_DIR}" && tar xzf "${TARBALL_NAME}")
433433
if [ $? -ne 0 ]
434434
then
435-
rm -Rf "${TMP_DIR}"
436-
err "failed to unpack installer"
435+
rm -Rf "${TMP_DIR}"
436+
err "failed to unpack installer"
437437
fi
438438

439439
MAYBE_UNINSTALL=
440440
if [ -n "${CFG_UNINSTALL}" ]
441441
then
442-
MAYBE_UNINSTALL="--uninstall"
442+
MAYBE_UNINSTALL="--uninstall"
443443
fi
444444

445445
MAYBE_PREFIX=
446446
if [ -n "${CFG_PREFIX}" ]
447447
then
448-
MAYBE_PREFIX="--prefix=${CFG_PREFIX}"
448+
MAYBE_PREFIX="--prefix=${CFG_PREFIX}"
449449
fi
450450

451451
sh "${LOCAL_INSTALL_SCRIPT}" "${MAYBE_UNINSTALL}" "${MAYBE_PREFIX}"
452452
if [ $? -ne 0 ]
453453
then
454-
rm -Rf "${TMP_DIR}"
455-
err "failed to install Rust"
454+
rm -Rf "${TMP_DIR}"
455+
err "failed to install Rust"
456456
fi
457457

458458
if [ -z "${CFG_DISABLE_CARGO}" ]; then

0 commit comments

Comments
 (0)