diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-01 20:39:28 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-01 20:39:28 -0800 |
| commit | a195dedf52e67b1aaac62f041cc767e0d12592b3 (patch) | |
| tree | 8bccd8ee88bd28f8f3377c63b96d2180f09ceaf6 /toolsrc/src/commands_installation.cpp | |
| parent | a8c189c3f29dcb081ffe7c1bda53bdc82ac6dc92 (diff) | |
| download | vcpkg-a195dedf52e67b1aaac62f041cc767e0d12592b3.tar.gz vcpkg-a195dedf52e67b1aaac62f041cc767e0d12592b3.zip | |
get_installed_files() now filters out the directories
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
| -rw-r--r-- | toolsrc/src/commands_installation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp index 8bae0a182..1abd16796 100644 --- a/toolsrc/src/commands_installation.cpp +++ b/toolsrc/src/commands_installation.cpp @@ -170,7 +170,7 @@ namespace vcpkg std::vector<std::string> installed_files = extract_files_in_triplet(pgh_and_files, triplet); const size_t installed_remove_char_count = triplet.canonical_name().size() + 1; // +1 for the slash remove_first_n_chars(&installed_files, installed_remove_char_count); - std::sort(installed_files.begin(), installed_files.end()); + std::sort(installed_files.begin(), installed_files.end()); // Should already be sorted std::vector<std::string> intersection; std::set_intersection(package_files.cbegin(), package_files.cend(), |
