summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_action.cpp
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-04-21 14:43:02 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-04-21 14:43:02 +0200
commit3ea705c630b438fd6513fd6190190a559060f341 (patch)
treeec0e3fb8c2a2ee157a3c6f480c7edacd8b9174c2 /src/buildtool/execution_api/local/local_action.cpp
parent9077143d0585ad55f336751a5a5b92d1082438e6 (diff)
downloadjustbuild-3ea705c630b438fd6513fd6190190a559060f341.tar.gz
add compatibility with original remote build protocol
Diffstat (limited to 'src/buildtool/execution_api/local/local_action.cpp')
-rw-r--r--src/buildtool/execution_api/local/local_action.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/local/local_action.cpp b/src/buildtool/execution_api/local/local_action.cpp
index d8ec8be3..93a00c0d 100644
--- a/src/buildtool/execution_api/local/local_action.cpp
+++ b/src/buildtool/execution_api/local/local_action.cpp
@@ -80,7 +80,7 @@ auto LocalAction::Execute(Logger const* logger) noexcept
auto LocalAction::Run(bazel_re::Digest const& action_id) const noexcept
-> std::optional<Output> {
- auto exec_path = CreateUniquePath(LocalExecutionConfig::GetBuildDir() /
+ auto exec_path = CreateUniquePath(LocalExecutionConfig::CacheRoot() /
"exec_root" / action_id.hash());
if (not exec_path) {