diff options
author | Yue Gan <yueg@google.com> | 2016-07-12 14:51:04 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-07-13 11:15:31 +0000 |
commit | bb1e78e0d6f69ea12cbf410ffea6e67bee318306 (patch) | |
tree | 884feeb76272f20961cbcaee7b3dbb35df4e613b /scripts/bootstrap/buildenv.sh | |
parent | 5b12f6e759c1f3137a7149d3026ff96686d07696 (diff) |
support sh besides bash
--
MOS_MIGRATED_REVID=127198779
Diffstat (limited to 'scripts/bootstrap/buildenv.sh')
-rwxr-xr-x | scripts/bootstrap/buildenv.sh | 2 |
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}'; }" |