diff options
author | 2018-07-18 16:58:22 -0700 | |
---|---|---|
committer | 2018-07-18 17:02:09 -0700 | |
commit | ae62a692ddb53253462c1f79702fbc45baeb4ae3 (patch) | |
tree | e923c105e4a960495988d1d80878d80d350c0709 /tensorflow/tools/ci_build/windows | |
parent | 474b40bc7cb33d25f9bdc187d021e94a807bf1bd (diff) |
Windows: Update in common_env.sh
Respect TMPDIR if it's already set.
PiperOrigin-RevId: 205161568
Diffstat (limited to 'tensorflow/tools/ci_build/windows')
-rw-r--r-- | tensorflow/tools/ci_build/windows/bazel/common_env.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/tools/ci_build/windows/bazel/common_env.sh b/tensorflow/tools/ci_build/windows/bazel/common_env.sh index 3af132217e..333a89d3f5 100644 --- a/tensorflow/tools/ci_build/windows/bazel/common_env.sh +++ b/tensorflow/tools/ci_build/windows/bazel/common_env.sh @@ -26,7 +26,8 @@ # * Bazel windows executable copied as "bazel.exe" and included in PATH. # Use a temporary directory with a short name. -export TMPDIR="C:/tmp" +export TMPDIR=${TMPDIR:-"C:/tmp"} +export TMPDIR=$(cygpath -m "$TMPDIR") mkdir -p "$TMPDIR" # Set bash path |