diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-12-29 15:44:23 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-12-29 15:44:23 +0000 |
commit | a89d98cb9eae153302e820c7025d2d986998d32d (patch) | |
tree | c466647e0536ec461a70b085c35381bbbb9c4e4a | |
parent | 2dd616542d773a4d2b32065f81836b7ae2a53b3f (diff) | |
download | bitbake-a89d98cb9eae153302e820c7025d2d986998d32d.tar.gz |
bitbake/lib/bb/fetch/svn.py:
Apply patch courtsey Richard for #554 to include
the path in the filename of the tar.gz snapshot
-rw-r--r-- | lib/bb/fetch/svn.py | 4 |
1 files 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) |