Commit a971cfee authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Fix dashes in environment names for OS params

Signed-off-by: default avatarJose A. Lopes <>
Reviewed-by: default avatarHrvoje Ribicic <>
parent aaec078d
......@@ -3147,7 +3147,7 @@ def OSCoreEnv(os_name, inst_os, os_params, debug=0):
# OS params
for pname, pvalue in os_params.items():
result["OSP_%s" % pname.upper()] = pvalue
result["OSP_%s" % pname.upper().replace("-", "_")] = pvalue
# Set a default path otherwise programs called by OS scripts (or
# even hooks called from OS scripts) might break, and we don't want
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment