From f5adc6c0ee7965abcad4cc73d0f36d1ed3cba3cc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 29 Sep 2015 11:29:50 +0200 Subject: Complete pkg-status, rework object model --- bpkg/pkg-fetch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-fetch.cxx') diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx index 1406d8d..36b80a7 100644 --- a/bpkg/pkg-fetch.cxx +++ b/bpkg/pkg-fetch.cxx @@ -73,7 +73,7 @@ namespace bpkg info << "use 'bpkg rep-fetch' to fetch available packages list"; shared_ptr p ( - db.find (package_version_id (n, v))); + db.find (available_package_id (n, v))); if (p == nullptr) fail << "package " << n << " " << v << " is not available"; @@ -93,7 +93,7 @@ namespace bpkg if (verb > 1) text << "fetching " << pl->location.leaf () << " " - << "from " << pl->repository->name (); + << "from " << pl->repository->name; a = fetch_archive (o, pl->repository->location, pl->location, c); purge = true; -- cgit v1.1