Fix broken develop as CI didn't run on latest merge commit (#25531)

* CI for #25439 was not run on the latest merge commit, and fails after #25470
* Make it consistent
This commit is contained in:
Harmen Stoppels
2021-08-20 10:06:47 +02:00
committed by GitHub
parent e8bcb43695
commit d52a1b8279

View File

@@ -876,7 +876,7 @@ def buildcache_sync(args):
dest_mirror_url = url_util.format(dest_mirror.fetch_url)
# Get the active environment
env = ev.get_env(args, 'buildcache sync', required=True)
env = spack.cmd.require_active_env(cmd_name='buildcache sync')
tty.msg('Syncing environment buildcache files from {0} to {1}'.format(
src_mirror_url, dest_mirror_url))