diff options
author | 2015-03-23 13:00:28 +0000 | |
---|---|---|
committer | 2015-03-24 16:41:13 +0000 | |
commit | 27b94751b74fcc16e93157649649337e8456da67 (patch) | |
tree | 65b395c6e5b91c7fdc7ae939463636c5f227dd91 /src/main/java/com/google/devtools/build/lib/skyframe/SkylarkImportLookupFunction.java | |
parent | 07072b0d29835eb2cfeca4af43bb0daa533dba5c (diff) |
Use getpwuid(getuid()) to determine the output root under Linux
Also Fallback the default ouput root to /var/tmp if $HOME is not set
under Linux. If $HOME environment variable was not set, Bazel would
crash with a std::logic_error. Using getpwuid() make Bazel more
resilient to wrong environment.
--
MOS_MIGRATED_REVID=89292008
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/SkylarkImportLookupFunction.java')
0 files changed, 0 insertions, 0 deletions