aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-03-21 21:32:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-03-23 14:50:00 +0300
commitfdaa71c503c04aa35230b7f932f9ad43cc994a08 (patch)
tree210bcc6268e9291a9c71919a725e8f26df32a148 /bpkg/cfg-create.cxx
parentedeb250d50ca3f2dfb88a8b623abae43d4229bbc (diff)
Add configuration variable sources to selected packages
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx3
1 files changed, 2 insertions, 1 deletions
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 <bpkg/cfg-link.hxx>
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