@@ -368,20 +368,20 @@ HOST_TRIPLE="${CFG_CPUTYPE}-${CFG_OSTYPE}"
368368# Is this a triple we have nightlies for?
369369case $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
386386esac
387387
@@ -414,8 +414,8 @@ msg "downloading rust installer"
414414" ${CFG_CURL} " " ${REMOTE_TARBALL} " > " ${LOCAL_TARBALL} "
415415if [ $? -ne 0 ]
416416then
417- rm -Rf " ${TMP_DIR} "
418- err " failed to download installer"
417+ rm -Rf " ${TMP_DIR} "
418+ err " failed to download installer"
419419fi
420420
421421if [ -z " ${CFG_DISABLE_CARGO} " ]; then
432432(cd " ${TMP_DIR} " && tar xzf " ${TARBALL_NAME} " )
433433if [ $? -ne 0 ]
434434then
435- rm -Rf " ${TMP_DIR} "
436- err " failed to unpack installer"
435+ rm -Rf " ${TMP_DIR} "
436+ err " failed to unpack installer"
437437fi
438438
439439MAYBE_UNINSTALL=
440440if [ -n " ${CFG_UNINSTALL} " ]
441441then
442- MAYBE_UNINSTALL=" --uninstall"
442+ MAYBE_UNINSTALL=" --uninstall"
443443fi
444444
445445MAYBE_PREFIX=
446446if [ -n " ${CFG_PREFIX} " ]
447447then
448- MAYBE_PREFIX=" --prefix=${CFG_PREFIX} "
448+ MAYBE_PREFIX=" --prefix=${CFG_PREFIX} "
449449fi
450450
451451sh " ${LOCAL_INSTALL_SCRIPT} " " ${MAYBE_UNINSTALL} " " ${MAYBE_PREFIX} "
452452if [ $? -ne 0 ]
453453then
454- rm -Rf " ${TMP_DIR} "
455- err " failed to install Rust"
454+ rm -Rf " ${TMP_DIR} "
455+ err " failed to install Rust"
456456fi
457457
458458if [ -z " ${CFG_DISABLE_CARGO} " ]; then
0 commit comments