diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-21 21:10:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-24 17:39:13 +0300 |
commit | 3a6c4ab1b6fc79a6a543088553cdd6bc8cb0a1dd (patch) | |
tree | 1ca0c3b9ef763276ff45c20a62d2504833e5f67d /bpkg/rep-create.cxx | |
parent | 1cab4fbd051ee5a71f073446ad5ad1b3d79f1031 (diff) |
Adapt to inventing package_name type
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r-- | bpkg/rep-create.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index d052223..ad63267 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -11,6 +11,7 @@ #include <libbutl/manifest-serializer.mxx> #include <libbpkg/manifest.hxx> +#include <libbpkg/package-name.hxx> #include <bpkg/auth.hxx> #include <bpkg/fetch.hxx> @@ -28,7 +29,7 @@ namespace bpkg { struct package_key { - string name; + package_name name; bpkg::version version; // There shouldn't be multiple revisions of the same package @@ -111,7 +112,7 @@ namespace bpkg // m.location = a.leaf (root); - dir_path pd (m.name + "-" + m.version.string ()); + dir_path pd (m.name.string () + "-" + m.version.string ()); // Expand the description-file manifest value. // |