diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-30 17:25:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-30 17:25:23 +0200 |
commit | b94b5381f68061121c22f2786ba1fa774f1ee6f6 (patch) | |
tree | 887717ac2e585c93141e71509f8779e852c4967d /bpkg/pkg-command.cxx | |
parent | bee19e051ea565813588a532bfbae4ce0b2f4a71 (diff) |
Convert to use canonical directory separators
Diffstat (limited to 'bpkg/pkg-command.cxx')
-rw-r--r-- | bpkg/pkg-command.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index 4f5478d..ba1b548 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -62,9 +62,11 @@ namespace bpkg if (bspec.back () != '(') bspec += ' '; + // Use path representation to get canonical trailing slash. + // + bspec += '\''; + bspec += out_root.representation (); bspec += '\''; - bspec += out_root.string (); - bspec += "/'"; if (!pv.vars.empty ()) run (pv.vars); // Run this package. |