Merge pull request #1688 from LLNL/bugfix/database-issues
Fix dependency bug with `spack reindex`.
This commit is contained in:
commit
0f26bb9e92
@ -436,7 +436,7 @@ def _increment_ref_count(self, spec, directory_layout=None):
|
||||
|
||||
self._data[key] = InstallRecord(spec.copy(), path, installed)
|
||||
|
||||
for dep in spec.dependencies('link'):
|
||||
for dep in spec.dependencies(('link', 'run')):
|
||||
self._increment_ref_count(dep)
|
||||
|
||||
self._data[key].ref_count += 1
|
||||
|
Loading…
Reference in New Issue
Block a user