aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-19 23:39:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-22 12:55:29 +0300
commit5384724d937196e1e3f5c15fe443c0bff07896e6 (patch)
tree1657553f18585678321cb4a10a8c51f54a57f626 /bpkg/cfg-create.cxx
parentfce2bf8086573a13eb39e1e8c65e615012486a58 (diff)
Make testscripts to ignore user's default options files
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 1bc1a57..affc0b0 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -180,18 +180,18 @@ namespace bpkg
// Use the configuration parent directory as a start directory.
//
- optional<dir_path> start_dir;
+ optional<dir_path> start;
// Let cfg_create() complain later for the root directory used as a
// configuration directory.
//
dir_path d (normalize (o.directory (), "configuration"));
if (!d.root ())
- start_dir = d.directory ();
+ start = d.directory ();
return default_options_files {
{path ("bpkg.options"), path ("bpkg-cfg-create.options")},
- move (start_dir)};
+ move (start)};
}
cfg_create_options