Skip to content

Commit 5b57758

Browse files
committed
---
yaml --- r: 157576 b: refs/heads/snap-stage3 c: e59355b h: refs/heads/master v: v3
1 parent 5fa3cb6 commit 5b57758

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 065caf34f5ff29e04605f95d9c5d511af219439a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 03ad7e7119013402589844268403a5287134ba2d
4+
refs/heads/snap-stage3: e59355b64c1359c41519b253e1776eab07d22a09
55
refs/heads/try: 0ee4d8b0b112c608646fa75463ab4dc59132efd9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)