From b94b5381f68061121c22f2786ba1fa774f1ee6f6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 30 Jul 2016 17:25:23 +0200 Subject: Convert to use canonical directory separators --- bpkg/cfg-create.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index b5b1f41..94a7764 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -136,12 +136,13 @@ namespace bpkg // Configure. // - // Run quiet. - run_b (o, c, "configure('" + c.string () + "/')", true, vars); + // Run quiet. Use path representation to get canonical trailing slash. + // + run_b (o, c, "configure('" + c.representation () + "')", true, vars); // Create .bpkg/. // - mk (c / dir_path (".bpkg")); + mk (c / bpkg_dir); // Create the database. // -- cgit v1.1