aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-04-20 22:48:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-04-21 17:15:28 +0300
commit09c231965f9f8e8f1e86f127a22f112d63ef4d9b (patch)
treee1a8689a0053099719722ba45d35aa33d229fc1e /libbuild2/script/parser.cxx
parent30da2a90b3d433160c06643fb7ca51722fbae6b8 (diff)
Add buildscript depdb builtin 'env' command
Diffstat (limited to 'libbuild2/script/parser.cxx')
-rw-r--r--libbuild2/script/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/script/parser.cxx b/libbuild2/script/parser.cxx
index 41d3092..ebfd5fc 100644
--- a/libbuild2/script/parser.cxx
+++ b/libbuild2/script/parser.cxx
@@ -1437,7 +1437,7 @@ namespace build2
}
else if (optional<string> v = str ("--unset", "-u"))
{
- verify_environment_var_name (*v, o.c_str (), "env: ", i->second);
+ verify_environment_var_name (*v, "env: ", i->second, o.c_str ());
r.variables.add (move (*v));
}