summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-09-01 11:39:21 -0700
committerGitHub <noreply@github.com>2016-09-01 11:39:21 -0700
commit0f26bb9e9219d74e5aa6fc065d5e861cd5385bd2 (patch)
tree9510f680002ab75745941d29f596114d914a94e1
parent4a87d4ab8ed873e6450df06512e09f815a276cd8 (diff)
parentc46a15b574bcf86e93fc5779b6f1957a8b407173 (diff)
downloadspack-0f26bb9e9219d74e5aa6fc065d5e861cd5385bd2.tar.gz
spack-0f26bb9e9219d74e5aa6fc065d5e861cd5385bd2.tar.bz2
spack-0f26bb9e9219d74e5aa6fc065d5e861cd5385bd2.tar.xz
spack-0f26bb9e9219d74e5aa6fc065d5e861cd5385bd2.zip
Merge pull request #1688 from LLNL/bugfix/database-issues
Fix dependency bug with `spack reindex`.
-rw-r--r--lib/spack/spack/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/database.py b/lib/spack/spack/database.py
index f3dcdef0a9..1240e9a658 100644
--- a/lib/spack/spack/database.py
+++ b/lib/spack/spack/database.py
@@ -436,7 +436,7 @@ class Database(object):
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