Skip to content

Commit ee72c57

Browse files
committed
Better temporary directory name
1 parent 0128159 commit ee72c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/rustup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ then
413413
CFG_INSTALL_FLAGS="${CFG_INSTALL_FLAGS} --prefix=${CFG_PREFIX}"
414414
fi
415415

416-
CFG_TMP_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir' 2>/dev/null` || CFG_TMP_DIR=$(create_tmp_dir)
416+
CFG_TMP_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'rustup-tmp-install' 2>/dev/null` || CFG_TMP_DIR=$(create_tmp_dir)
417417

418418
RUST_URL="https://static.rust-lang.org/dist"
419419
RUST_PACKAGE_NAME=rust-nightly

0 commit comments

Comments
 (0)