summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch.py')
-rw-r--r--bitbake/lib/bb/fetch.py4
1 files changed, 2 insertions, 2 deletions
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)