diff options
author | 2015-03-20 20:42:50 +0000 | |
---|---|---|
committer | 2015-03-23 11:57:05 +0000 | |
commit | 54b21d4f011f47aee5aa570f292703739f77f1d1 (patch) | |
tree | c88c16182829cfca8b95730d6a46db62e534fe46 /src/main | |
parent | fefd52888ffe390235a09e1ed5b4db41f492f89a (diff) |
Use a /var/tmp path for Bazel output tree on OSX
The current value:
1) Isn't created by anything, and
2) Generates too long a path for the name of a Unix domain socket
--
MOS_MIGRATED_REVID=89152182
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/cpp/blaze_util_darwin.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/cpp/blaze_util_darwin.cc b/src/main/cpp/blaze_util_darwin.cc index 566b8a8884..c982101a59 100644 --- a/src/main/cpp/blaze_util_darwin.cc +++ b/src/main/cpp/blaze_util_darwin.cc @@ -30,11 +30,7 @@ namespace blaze { using std::string; string GetOutputRoot() { - const char *home = getenv("HOME"); - if (home == NULL) { - return "/var/tmp"; - } - return blaze_util::JoinPath(home, "Library/Caches/Bazel"); + return "/var/tmp"; } void WarnFilesystemType(const string& output_base) { |