aboutsummaryrefslogtreecommitdiff
path: root/bdep
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-08 19:46:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-08 19:46:24 +0200
commit8432e7eede97c2bb324c7b6578eaf9a1a2ae4282 (patch)
treedf2bd06aafcad5f2b9081d25cc9823b182de5692 /bdep
parent045fe902417cb6f583080a7e038b655d1af098d7 (diff)
Quote bdep executable path in build system hook (in case we are on Windows)
Diffstat (limited to 'bdep')
-rw-r--r--bdep/sync.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 7f0a0ca..e2e9caa 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -378,7 +378,7 @@ namespace bdep
<< "if ($build.meta_operation != 'info' && \\" << endl
<< " $build.meta_operation != 'configure' && \\" << endl
<< " $build.meta_operation != 'disfigure')" << endl
- << " run " << argv0 << " sync --hook=1 " <<
+ << " run '" << argv0 << "' sync --hook=1 " <<
"--verbose $build.verbosity " <<
"--config \"$out_root\"" << endl;