aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-23 18:30:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-24 17:18:33 +0300
commitf4e192564a6e048eef14f21ab4d269874b6bfba3 (patch)
treeb7b5ca697f64044dcf10129fef9777ba632379ca /bdep/sync.cxx
parente65b3fd3f273a4377f07872c8bb944858b8d3153 (diff)
Adapt to inventing package_name type
Diffstat (limited to 'bdep/sync.cxx')
-rw-r--r--bdep/sync.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index b1589ad..84cb715 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -254,7 +254,7 @@ namespace bdep
// since there is no guarantee a higher version isn't available from
// another repository.
//
- args.push_back (pkg.name + '@' + prj.path.string ());
+ args.push_back (pkg.name.string () + '@' + prj.path.string ());
}
}
@@ -402,7 +402,7 @@ namespace bdep
if (o != nullptr)
{
- dir_path out (dir_path (cfg) /= pkg.name);
+ dir_path out (dir_path (cfg) /= pkg.name.string ());
run_b (co,
o,
src.representation () + '@' + out.representation () +