diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/cvs.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/cvs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py index b77e742c33..69c31e7561 100644 --- a/bitbake/lib/bb/fetch2/cvs.py +++ b/bitbake/lib/bb/fetch2/cvs.py | |||
| @@ -65,9 +65,11 @@ class Cvs(FetchMethod): | |||
| 65 | 65 | ||
| 66 | ud.localfile = data.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath), d) | 66 | ud.localfile = data.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath), d) |
| 67 | 67 | ||
| 68 | def forcefetch(self, url, ud, d): | 68 | def need_update(self, url, ud, d): |
| 69 | if (ud.date == "now"): | 69 | if (ud.date == "now"): |
| 70 | return True | 70 | return True |
| 71 | if not os.path.exists(ud.localpath): | ||
| 72 | return True | ||
| 71 | return False | 73 | return False |
| 72 | 74 | ||
| 73 | def download(self, loc, ud, d): | 75 | def download(self, loc, ud, d): |
