aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap/buildenv.sh
diff options
context:
space:
mode:
authorGravatar Yue Gan <yueg@google.com>2016-07-12 14:51:04 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-07-13 11:15:31 +0000
commitbb1e78e0d6f69ea12cbf410ffea6e67bee318306 (patch)
tree884feeb76272f20961cbcaee7b3dbb35df4e613b /scripts/bootstrap/buildenv.sh
parent5b12f6e759c1f3137a7149d3026ff96686d07696 (diff)
support sh besides bash
-- MOS_MIGRATED_REVID=127198779
Diffstat (limited to 'scripts/bootstrap/buildenv.sh')
-rwxr-xr-xscripts/bootstrap/buildenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index 6c851b00c8..aad6e45350 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -110,7 +110,7 @@ function run_atexit_handlers() {
function tempdir() {
local tmp=${TMPDIR:-/tmp}
- local DIR="$(mktemp -d ${tmp%%/}/bazel.XXXXXXXX)"
+ local DIR="$(mktemp -d ${tmp%%/}/bazel_XXXXXXXX)"
mkdir -p "${DIR}"
local DIRBASE=$(basename "${DIR}")
eval "cleanup_tempdir_${DIRBASE}() { rm -rf '${DIR}'; }"