aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/agent/agent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx
index 7d734d3..ff380c8 100644
--- a/bbot/agent/agent.cxx
+++ b/bbot/agent/agent.cxx
@@ -1744,7 +1744,7 @@ try
l3 ([&]{trace << "completed startup in " << startup_to - to << "s";});
// Read the uploaded environment and, if necessary, append the name prefix
- // (which we first make a valid C identifier).
+ // (which we first make a valid C identifier and uppercase).
//
// Note that it may seem like a good idea to validate the format here.
// But that means we will essentially need to parse it twice (here and in
@@ -1754,7 +1754,7 @@ try
//
string env_pfx (env_name.empty ()
? string ()
- : sanitize_identifier (env_name) + '_');
+ : ucase (sanitize_identifier (env_name)) + '_');
string env;
try
{