diff options
author | Kamil Iskra <iskra@mcs.anl.gov> | 2023-08-22 15:18:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 16:18:51 -0400 |
commit | c21e00f504629e1402d31d11dc62e7aea244af31 (patch) | |
tree | 1979fde8f9dc94b665bca9dc2cb14bddf9b44959 /lib | |
parent | 9ae1317e795b42bdd8edce1a2d37a284ac967ea3 (diff) | |
download | spack-c21e00f504629e1402d31d11dc62e7aea244af31.tar.gz spack-c21e00f504629e1402d31d11dc62e7aea244af31.tar.bz2 spack-c21e00f504629e1402d31d11dc62e7aea244af31.tar.xz spack-c21e00f504629e1402d31d11dc62e7aea244af31.zip |
spack.caches: make fetch_cache_location lowercase (#39575)
fetch_cache_location was erroneously renamed to FETCH_cache_location
as part of #39428, breaking "spack module create".
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/mirror.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/mirror.py b/lib/spack/spack/cmd/mirror.py index 0470ae66bf..6edae785a0 100644 --- a/lib/spack/spack/cmd/mirror.py +++ b/lib/spack/spack/cmd/mirror.py @@ -443,7 +443,7 @@ def mirror_create(args): ) # When no directory is provided, the source dir is used - path = args.directory or spack.caches.FETCH_CACHE_location() + path = args.directory or spack.caches.fetch_cache_location() if args.all and not ev.active_environment(): create_mirror_for_all_specs( |