From fdaa71c503c04aa35230b7f932f9ad43cc994a08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 21 Mar 2022 21:32:42 +0300 Subject: Add configuration variable sources to selected packages --- bpkg/cfg-create.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 29de01c..c31b197 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -11,6 +11,7 @@ #include using namespace std; +using namespace butl; namespace bpkg { @@ -249,7 +250,7 @@ namespace bpkg string a (args.next ()); if (a.find ('=') != string::npos) - vars.push_back (move (a)); + vars.push_back (move (trim (a))); else if (!a.empty ()) mods.push_back (move (a)); else -- cgit v1.1