about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hoff <johshoff@gmail.com>2014-12-24 13:25:28 +0100
committerJohannes Hoff <johshoff@gmail.com>2014-12-24 13:25:28 +0100
commitee72c57bc9081327fcc37f4ecf4bb378969e577f (patch)
tree04eeb6d23c290b4842069df75b03f2969b0be479 /src
parent0128159c95d0544e0c30b8b52ce3e7ce348fc114 (diff)
downloadrust-ee72c57bc9081327fcc37f4ecf4bb378969e577f.tar.gz
rust-ee72c57bc9081327fcc37f4ecf4bb378969e577f.zip
Better temporary directory name
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/rustup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rustup.sh b/src/etc/rustup.sh
index 35ff1199b52..697afacf898 100755
--- a/src/etc/rustup.sh
+++ b/src/etc/rustup.sh
@@ -413,7 +413,7 @@ then
     CFG_INSTALL_FLAGS="${CFG_INSTALL_FLAGS} --prefix=${CFG_PREFIX}"
 fi
 
-CFG_TMP_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir' 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` || CFG_TMP_DIR=$(create_tmp_dir)
 
 RUST_URL="https://static.rust-lang.org/dist"
 RUST_PACKAGE_NAME=rust-nightly