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/database.cxx | |
parent | bee19e051ea565813588a532bfbae4ce0b2f4a71 (diff) |
Convert to use canonical directory separators
Diffstat (limited to 'bpkg/database.cxx')
-rw-r--r-- | bpkg/database.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
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"; |