Skip to content

Commit

Permalink
Use bazel in output user root
Browse files Browse the repository at this point in the history
Fixes bazelbuild#26.

--
MOS_MIGRATED_REVID=89599829
  • Loading branch information
kchodorow authored and hanwen committed Mar 26, 2015
1 parent 6a1673b commit 427dd25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/cpp/blaze_startup_options_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ void BlazeStartupOptions::Init() {
output_root = GetOutputRoot();
}

output_user_root = output_root + "/_blaze_" + GetUserName();
string product = GetProductName();
blaze_util::ToLower(&product);
output_user_root = blaze_util::JoinPath(
output_root, "_" + product + "_" + GetUserName());
block_for_lock = true;
host_jvm_debug = false;
host_javabase = "";
Expand Down

0 comments on commit 427dd25

Please sign in to comment.