Skip to content
Snippets Groups Projects
Commit 0f26bb9e authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

Merge pull request #1688 from LLNL/bugfix/database-issues

Fix dependency bug with `spack reindex`. 
parents 4a87d4ab c46a15b5
No related branches found
No related tags found
No related merge requests found
...@@ -436,7 +436,7 @@ def _increment_ref_count(self, spec, directory_layout=None): ...@@ -436,7 +436,7 @@ def _increment_ref_count(self, spec, directory_layout=None):
self._data[key] = InstallRecord(spec.copy(), path, installed) 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._increment_ref_count(dep)
self._data[key].ref_count += 1 self._data[key].ref_count += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment