diff options
-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 5f26fb8ef9..121a6f4aa5 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -391,7 +391,7 @@ def install_tarball(spec, args): bindist.extract_tarball(spec, tarball, args.allow_root, args.unsigned, args.force) spack.hooks.post_install(spec) - spack.store.store.reindex() + spack.store.db.add(spec, spack.store.layout) else: tty.die('Download of binary cache file for spec %s failed.' % spec.format()) |