Skip to content

Commit dba925f

Browse files
authored
Fix variable name in environment variable updates (eth-cscs#291)
Fixes eth-cscs#290
1 parent 5a6d5f1 commit dba925f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stackinator/etc/envvars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def meta_impl(args):
598598
for var_name, value in recipe_vars["scalar"].items():
599599
spack_vars["values"]["scalar"][var_name] = value
600600
for var_name, updates in recipe_vars["list"].items():
601-
spack_vars["values"]["list"].setdefault(name, [])
601+
spack_vars["values"]["list"].setdefault(var_name, [])
602602
spack_vars["values"]["list"][var_name] += updates
603603

604604
# update the global meta data to include the environment variable state

0 commit comments

Comments
 (0)