aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-command.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-04 14:26:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-18 15:10:59 +0300
commit272dd3d81b1e7f2f0ce98dc19299a84f027e4b59 (patch)
tree8a1d9f6ade57b6d2a91ec1e7d270575457f86c83 /bpkg/pkg-command.cxx
parentb501355018d904bcc2ffb467b59377ccd8e592e8 (diff)
Quote build2 operations arguments
Diffstat (limited to 'bpkg/pkg-command.cxx')
-rw-r--r--bpkg/pkg-command.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx
index 57c3f53..4f5478d 100644
--- a/bpkg/pkg-command.cxx
+++ b/bpkg/pkg-command.cxx
@@ -61,8 +61,10 @@ namespace bpkg
if (bspec.back () != '(')
bspec += ' ';
+
+ bspec += '\'';
bspec += out_root.string ();
- bspec += '/';
+ bspec += "/'";
if (!pv.vars.empty ())
run (pv.vars); // Run this package.