aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
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