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:
parent
9ae1317e79
commit
c21e00f504
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user