summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-03 23:20:15 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:21 +0000
commit483f85802a97cb9ad4d958c29458db91acc7809f (patch)
treee67948401b16ef7d75cd88857139fd2b00af26df /bitbake/lib/bb/cache.py
parentc2b5a617285733053f867c3fdda2179a65ccbe4c (diff)
downloadopenembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.tar.gz
openembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.tar.bz2
openembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.zip
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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:
for f,old_mtime in depends:
fmtime = bb.parse.cached_mtime_noerror(f)
# Check if file still exists
- if fmtime == 0:
+ if old_mtime != 0 and fmtime == 0:
self.remove(fn)
return False