From a89d98cb9eae153302e820c7025d2d986998d32d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 29 Dec 2005 15:44:23 +0000 Subject: bitbake/lib/bb/fetch/svn.py: Apply patch courtsey Richard for #554 to include the path in the filename of the tar.gz snapshot --- lib/bb/fetch/svn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index 54d1649f5..6c1f95d9a 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -59,7 +59,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 = []): @@ -113,7 +113,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) -- cgit 1.2.3-korg