From c21e00f504629e1402d31d11dc62e7aea244af31 Mon Sep 17 00:00:00 2001 From: Kamil Iskra Date: Tue, 22 Aug 2023 15:18:51 -0500 Subject: 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". --- lib/spack/spack/cmd/mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3-60-g2f50