aboutsummaryrefslogtreecommitdiff
path: root/bdep/publish.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/publish.cxx')
-rw-r--r--bdep/publish.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index d3ea1c0..1fcc942 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -249,14 +249,16 @@ namespace bdep
// build2's version module by default does not allow distribution of
// uncommitted projects.
//
- run_b (o,
- "dist:", (dir_path (cfg) /= p.name.string ()).representation (),
- "config.dist.root=" + dr.representation (),
- "config.dist.archives=tar.gz",
- "config.dist.checksums=sha256",
- (uncommitted && *uncommitted
- ? "config.dist.uncommitted=true"
- : nullptr));
+ run_b (
+ o,
+ "dist:",
+ "'" + (dir_path (cfg) /= p.name.string ()).representation () + "'",
+ "config.dist.root='" + dr.representation () + "'",
+ "config.dist.archives=tar.gz",
+ "config.dist.checksums=sha256",
+ (uncommitted && *uncommitted
+ ? "config.dist.uncommitted=true"
+ : nullptr));
// This is the canonical package archive name that we expect dist to
// produce.