aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-10-09 20:14:26 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-10-09 20:14:51 -0700
commitefffda88f0d4d6a0ba0640a96cd05bf08985c541 (patch)
treea245739a5966b94c81bd35db799bc9e06ffd3f38 /toolsrc/src
parent276da906c51d5ddccd9c282fdcb75db36944dc62 (diff)
downloadvcpkg-efffda88f0d4d6a0ba0640a96cd05bf08985c541.tar.gz
vcpkg-efffda88f0d4d6a0ba0640a96cd05bf08985c541.zip
[vcpkg ci] Remove src as well
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg/build.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/build.cpp b/toolsrc/src/vcpkg/build.cpp
index 8e87fe7fe..1e931889b 100644
--- a/toolsrc/src/vcpkg/build.cpp
+++ b/toolsrc/src/vcpkg/build.cpp
@@ -440,7 +440,7 @@ namespace vcpkg::Build
auto buildtree_files = fs.get_files_non_recursive(buildtrees_dir);
for (auto&& file : buildtree_files)
{
- if (fs.is_directory(file) && file.filename() != "src")
+ if (fs.is_directory(file)) // Will only keep the logs
{
std::error_code ec;
fs.remove_all(file, ec);