diff --git a/src/etc/rustup.sh b/src/etc/rustup.sh index 697afacf898..85e15e36327 100755 --- a/src/etc/rustup.sh +++ b/src/etc/rustup.sh @@ -413,7 +413,9 @@ then CFG_INSTALL_FLAGS="${CFG_INSTALL_FLAGS} --prefix=${CFG_PREFIX}" fi -CFG_TMP_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'rustup-tmp-install' 2>/dev/null` || CFG_TMP_DIR=$(create_tmp_dir) +CFG_TMP_DIR=$(mktemp -d 2>/dev/null \ + || mktemp -d -t 'rustup-tmp-install' 2>/dev/null \ + || create_tmp_dir) RUST_URL="https://static.rust-lang.org/dist" RUST_PACKAGE_NAME=rust-nightly