From: Richard Purdie Date: Thu, 22 Dec 2005 16:58:42 +0000 (+0000) Subject: Fix bitbake svn fetcher filenames X-Git-Tag: 2011-1~13190 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e752d6f3aa7b0a93cc3af880bee7f88d778d1f67;p=openembedded-core.git Fix bitbake svn fetcher filenames git-svn-id: https://svn.o-hand.com/repos/poky@204 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/bitbake/lib/bb/fetch.py b/bitbake/lib/bb/fetch.py index 982ab51b76..e41e59aa81 100644 --- a/bitbake/lib/bb/fetch.py +++ b/bitbake/lib/bb/fetch.py @@ -524,7 +524,7 @@ class Svn(Fetch): date = data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1) - return os.path.join(data.getVar("DL_DIR", d, 1),data.expand('%s_%s_%s_%s.tar.gz' % ( module.replace('/', '.'), host, revision, date), d)) + return os.path.join(data.getVar("DL_DIR", d, 1),data.expand('%s_%s_%s_%s_%s.tar.gz' % ( module.replace('/', '.'), host, path.replace('/','.'), revision, date), d)) localpath = staticmethod(localpath) def go(self, d, urls = []): @@ -578,7 +578,7 @@ class Svn(Fetch): if "rsh" in parm: svn_rsh = parm["rsh"] - tarfn = data.expand('%s_%s_%s_%s.tar.gz' % (module.replace('/', '.'), host, revision, date), localdata) + tarfn = data.expand('%s_%s_%s_%s_%s.tar.gz' % (module.replace('/', '.'), host, path.replace('/', '.'), revision, date), localdata) data.setVar('TARFILES', dlfile, localdata) data.setVar('TARFN', tarfn, localdata)