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/database.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'bpkg/database.cxx') diff --git a/bpkg/database.cxx b/bpkg/database.cxx index bffba02..6eec6f8 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -21,16 +21,7 @@ namespace bpkg { tracer trace ("open"); - // @@ Shouldn't we create database file in d / ".bpkg" directory ? - // - // @@ Yes, let's do it. Also perhaps downloaded packages as well? - // We might as well. - // - // @@ Don't think would be natural to keep package archives there as, the - // user should see which packages are downloaded without need to look - // into the "hidden" directory. - // - path f (d / path (".bpkg/bpkg.sqlite3")); + path f (d / bpkg_dir / "bpkg.sqlite3"); if (!create && !exists (f)) fail << d << " does not look like a bpkg configuration directory"; -- cgit v1.1