diff options
Diffstat (limited to 'bpkg/pkg-disfigure.cxx')
-rw-r--r-- | bpkg/pkg-disfigure.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bpkg/pkg-disfigure.cxx b/bpkg/pkg-disfigure.cxx index 282bc82..cb3e657 100644 --- a/bpkg/pkg-disfigure.cxx +++ b/bpkg/pkg-disfigure.cxx @@ -74,8 +74,8 @@ namespace bpkg if (p->state == package_state::configured) { - bspec = "clean(" + out_root.string () + "/) " - "disfigure(" + out_root.string () + "/)"; + bspec = "clean('" + out_root.string () + "/') " + "disfigure('" + out_root.string () + "/')"; } else { @@ -84,11 +84,11 @@ namespace bpkg // partially configured one. // if (src_root == out_root) - bspec = "disfigure(" + out_root.string () + "/)"; + bspec = "disfigure('" + out_root.string () + "/')"; else - bspec = "disfigure(" + - src_root.string () + "/@" + - out_root.string () + "/)"; + bspec = "disfigure('" + + src_root.string () + "/'@'" + + out_root.string () + "/')"; } l4 ([&]{trace << "buildspec: " << bspec;}); |