diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-23 17:26:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-23 17:32:54 +0300 |
commit | 565dc8d011a1cdb7e365a587a0bbf0e109fdc54d (patch) | |
tree | cbaa3c9e259fafd9805356ff6e122b23609356c6 /bdep/build.txx | |
parent | 079abe88ec3d294ff87879ed6d9adcdf03b63424 (diff) |
Trim variable arguments while parsing command line
Diffstat (limited to 'bdep/build.txx')
-rw-r--r-- | bdep/build.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/build.txx b/bdep/build.txx index cdf7237..a9b237c 100644 --- a/bdep/build.txx +++ b/bdep/build.txx @@ -32,7 +32,7 @@ namespace bdep if (strchr (a , '=') == nullptr) fail << "'" << a << "' does not look like a variable assignment"; - cfg_vars.push_back (a); + cfg_vars.push_back (trim (a)); } // The same ignore/load story as in sync. |