From 272dd3d81b1e7f2f0ce98dc19299a84f027e4b59 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 4 Jun 2016 14:26:47 +0300 Subject: Quote build2 operations arguments --- bpkg/pkg-disfigure.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bpkg/pkg-disfigure.cxx') 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;}); -- cgit v1.1