summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2020-06-29 01:03:22 -0500
committerGitHub <noreply@github.com>2020-06-29 08:03:22 +0200
commit77351bd2872c5d92bae312042f44cdcb3ec2acdf (patch)
treec4b0e0daa5e69766944f5e77f013ad21fb22d66b
parent56db9647b11fbca475e4178eac687cc3adbc1664 (diff)
downloadspack-77351bd2872c5d92bae312042f44cdcb3ec2acdf.tar.gz
spack-77351bd2872c5d92bae312042f44cdcb3ec2acdf.tar.bz2
spack-77351bd2872c5d92bae312042f44cdcb3ec2acdf.tar.xz
spack-77351bd2872c5d92bae312042f44cdcb3ec2acdf.zip
Restore compilers.yaml default directory (#17283)
-rw-r--r--lib/spack/spack/cmd/compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/compiler.py b/lib/spack/spack/cmd/compiler.py
index c8f52af04d..fb9e24ea76 100644
--- a/lib/spack/spack/cmd/compiler.py
+++ b/lib/spack/spack/cmd/compiler.py
@@ -37,7 +37,7 @@ def setup_parser(subparser):
find_parser.add_argument('add_paths', nargs=argparse.REMAINDER)
find_parser.add_argument(
'--scope', choices=scopes, metavar=scopes_metavar,
- default=spack.config.default_modify_scope(),
+ default=spack.config.default_modify_scope('compilers'),
help="configuration scope to modify")
# Remove
@@ -49,7 +49,7 @@ def setup_parser(subparser):
remove_parser.add_argument('compiler_spec')
remove_parser.add_argument(
'--scope', choices=scopes, metavar=scopes_metavar,
- default=spack.config.default_modify_scope(),
+ default=spack.config.default_modify_scope('compilers'),
help="configuration scope to modify")
# List