diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-19 23:39:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-22 12:55:29 +0300 |
commit | 5384724d937196e1e3f5c15fe443c0bff07896e6 (patch) | |
tree | 1657553f18585678321cb4a10a8c51f54a57f626 /bpkg/rep-info.cxx | |
parent | fce2bf8086573a13eb39e1e8c65e615012486a58 (diff) |
Make testscripts to ignore user's default options files
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r-- | bpkg/rep-info.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index eeb93fe..086a142 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -384,7 +384,7 @@ namespace bpkg // If bpkg-rep-info operates in the configuration directory, then use it // as a search start directory. // - optional<dir_path> start_dir; + optional<dir_path> start; // Let rep_info() complain later for invalid configuration directory. // @@ -398,13 +398,13 @@ namespace bpkg d = current_dir; if (!d.empty ()) - start_dir = move (normalize (d, "configuration")); + start = move (normalize (d, "configuration")); } catch (const invalid_path&) {} return default_options_files { {path ("bpkg.options"), path ("bpkg-rep-info.options")}, - move (start_dir)}; + move (start)}; } rep_info_options |