diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-21 21:32:42 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-23 14:50:00 +0300 |
commit | fdaa71c503c04aa35230b7f932f9ad43cc994a08 (patch) | |
tree | 210bcc6268e9291a9c71919a725e8f26df32a148 /bpkg/pkg-command.cxx | |
parent | edeb250d50ca3f2dfb88a8b623abae43d4229bbc (diff) |
Add configuration variable sources to selected packages
Diffstat (limited to 'bpkg/pkg-command.cxx')
-rw-r--r-- | bpkg/pkg-command.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index 0ff6a0d..e07d801 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -213,7 +213,7 @@ namespace bpkg if (args.group ().more ()) fail << "unexpected options group for variable '" << a << "'"; - cvars.push_back (move (a)); + cvars.push_back (move (trim (a))); } else { @@ -228,7 +228,7 @@ namespace bpkg if (a.find ('=') == string::npos) fail << "unexpected group argument '" << a << "'"; - vars.push_back (move (a)); + vars.push_back (move (trim (a))); } pkg_args.push_back (pkg_arg {move (n), move (vars)}); |