From da787dd39f5a563b462d716d3bcfbb039dee9cd1 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Sun, 10 Apr 2022 20:21:18 +0200 Subject: add u+w permission when installing a file ... to allow for overwriting --- src/buildtool/execution_api/local/local_api.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/local/local_api.hpp') diff --git a/src/buildtool/execution_api/local/local_api.hpp b/src/buildtool/execution_api/local/local_api.hpp index ebbb10ef..03f116a8 100644 --- a/src/buildtool/execution_api/local/local_api.hpp +++ b/src/buildtool/execution_api/local/local_api.hpp @@ -62,7 +62,8 @@ class LocalApi final : public IExecutionApi { if (not blob_path or not FileSystemManager::CreateDirectory( output_paths[i].parent_path()) or - not FileSystemManager::CopyFileAs( + not FileSystemManager::CopyFileAs( *blob_path, output_paths[i], info.type)) { return false; } -- cgit v1.2.3