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".
This commit is contained in:
Kamil Iskra 2023-08-22 15:18:51 -05:00 committed by GitHub
parent 9ae1317e79
commit c21e00f504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -443,7 +443,7 @@ def mirror_create(args):
) )
# When no directory is provided, the source dir is used # 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(): if args.all and not ev.active_environment():
create_mirror_for_all_specs( create_mirror_for_all_specs(