bitbake: Remove bad commit hunk from old cvs fetcher

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-10 23:51:59 +00:00
parent 14dea89521
commit b42ba2f95c

View File

@@ -170,14 +170,3 @@ class Cvs(Fetch):
except OSError:
pass
raise FetchError(ud.module)
def clean(self, ud, d):
""" clean the git directory """
pkg = data.expand('${PN}', d)
localdata = data.createCopy(d)
data.setVar('OVERRIDES', "cvs:%s" % data.getVar('OVERRIDES', localdata), localdata)
data.update_data(localdata)
pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
bb.utils.remove(pkgdir, True)
bb.utils.remove(ud.localpath)