aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_installation.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-23 14:25:17 -0700
committerRobert Schumacher <roschuma@microsoft.com>2016-09-23 14:25:17 -0700
commitf4196f1638ad41cd640f4a57cefbcdb422724133 (patch)
tree919afd25e7fc49255701cb7889b5a051306ecfce /toolsrc/src/commands_installation.cpp
parent8a8180503d8217959d96a9f2b9fc6366d67c1354 (diff)
downloadvcpkg-f4196f1638ad41cd640f4a57cefbcdb422724133.tar.gz
vcpkg-f4196f1638ad41cd640f4a57cefbcdb422724133.zip
[vcpkg] Move find_available_package, find_available_port_file into vcpkg_paths.
`vcpkg_paths` is responsible for binding the concrete filesystem representation to the abstract `package_spec`.
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
-rw-r--r--toolsrc/src/commands_installation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp
index 35e1ba28c..f0e963bb6 100644
--- a/toolsrc/src/commands_installation.cpp
+++ b/toolsrc/src/commands_installation.cpp
@@ -80,7 +80,7 @@ namespace vcpkg
continue;
}
- fs::path package_path = find_available_package(paths, spec);
+ fs::path package_path = paths.find_available_package(spec);
expected<std::string> file_contents = Files::get_contents(package_path / "CONTROL");