diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-08-20 10:06:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 08:06:47 +0000 |
commit | d52a1b8279bb7515669ae3bc6cf6dd5f6f6fca08 (patch) | |
tree | b6af09ade846fb177f303e6a92ac3c93f8670bff | |
parent | e8bcb436954e8df6904867a0ae0bd5737b7aaac2 (diff) | |
download | spack-d52a1b8279bb7515669ae3bc6cf6dd5f6f6fca08.tar.gz spack-d52a1b8279bb7515669ae3bc6cf6dd5f6f6fca08.tar.bz2 spack-d52a1b8279bb7515669ae3bc6cf6dd5f6f6fca08.tar.xz spack-d52a1b8279bb7515669ae3bc6cf6dd5f6f6fca08.zip |
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
-rw-r--r-- | lib/spack/spack/cmd/buildcache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py index 0444091f4e..64f24dcc34 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -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)) |