summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index e91967c032..d30d57d33b 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -273,7 +273,7 @@ class Cache:
273 for f,old_mtime in depends: 273 for f,old_mtime in depends:
274 fmtime = bb.parse.cached_mtime_noerror(f) 274 fmtime = bb.parse.cached_mtime_noerror(f)
275 # Check if file still exists 275 # Check if file still exists
276 if fmtime == 0: 276 if old_mtime != 0 and fmtime == 0:
277 self.remove(fn) 277 self.remove(fn)
278 return False 278 return False
279 279