diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-11-03 13:54:26 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-15 12:03:11 +0100 |
commit | b1397ebc4512eb73894b1d273c008233c781db61 (patch) | |
tree | 361be18e98fd9d07a98c788750c0a48051be8080 /src/buildtool/execution_api/git/git_api.hpp | |
parent | b6ff8c6d7bc2e8fe595604e0f36a6cdfa54000fc (diff) | |
download | justbuild-b1397ebc4512eb73894b1d273c008233c781db61.tar.gz |
bugfix: Also unlink symlinks before installing
Make sure that all CopyFile, WriteFile, and CreateSymlink
functions properly unlink the target file (if it exists and
overwrite requested) to avoid interferences of the install
command. With this change, the clean up step for install-cas
and the within GraphTraverser can new be omitted.
(cherry-picked from 04e2f0aa0ccfe4f39c5f6c713bde182c6b7704dd)
Diffstat (limited to 'src/buildtool/execution_api/git/git_api.hpp')
0 files changed, 0 insertions, 0 deletions