aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-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/rep-create.cxx
parentfce2bf8086573a13eb39e1e8c65e615012486a58 (diff)
Make testscripts to ignore user's default options files
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index f0df1c0..98bf7f8 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -265,7 +265,7 @@ namespace bpkg
// Use the repository directory as a start directory.
//
- optional<dir_path> start_dir;
+ optional<dir_path> start;
// Let rep_create() complain later for invalid repository directory.
//
@@ -273,13 +273,13 @@ namespace bpkg
{
dir_path d (!args.empty () ? args[0] : ".");
if (!d.empty ())
- start_dir = move (normalize (d, "repository"));
+ start = move (normalize (d, "repository"));
}
catch (const invalid_path&) {}
return default_options_files {
{path ("bpkg.options"), path ("bpkg-rep-create.options")},
- move (start_dir)};
+ move (start)};
}
rep_create_options