Fix broken spack -c flag (#22361)

This commit is contained in:
Harmen Stoppels 2021-03-18 15:26:30 +01:00 committed by GitHub
parent c6f3f57c31
commit 196db55855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -467,7 +467,7 @@ def setup_main_options(args):
# Use the spack config command to handle parsing the config strings
for config_var in (args.config_vars or []):
spack.config.add(path=config_var, scope="command_line")
spack.config.add(fullpath=config_var, scope="command_line")
# when to use color (takes always, auto, or never)
color.set_color_when(args.color)