Compare commits

...

1 Commits

Author SHA1 Message Date
Cameron Smith
93b14e6c19 patch for config update problem
spack #26169
2022-10-18 13:27:59 -04:00

View File

@@ -258,7 +258,7 @@ def config_update(args):
cannot_overwrite, skip_system_scope = [], False
for scope in updates:
cfg_file = spack.config.config.get_config_filename(scope.name, args.section)
scope_dir = scope.path
scope_dir = os.path.dirname(scope.path)
can_be_updated = _can_update_config_file(scope_dir, cfg_file)
if not can_be_updated:
if scope.name == "system":