summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 e04a1f292a..f3c88a75c3 100644
--- a/lib/spack/spack/database.py
+++ b/lib/spack/spack/database.py
@@ -324,7 +324,7 @@ class Database(object):
if not os.path.exists(self._db_dir):
mkdirp(self._db_dir)
- if not os.path.exists(self._failure_dir):
+ if not os.path.exists(self._failure_dir) and not is_upstream:
mkdirp(self._failure_dir)
self.is_upstream = is_upstream