summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-12-22 16:58:42 +0000
committerRichard Purdie <richard@openedhand.com>2005-12-22 16:58:42 +0000
commite752d6f3aa7b0a93cc3af880bee7f88d778d1f67 (patch)
tree94422565ff78814ceb24d75a2ebcfd46f8e0f21d
parent597f73ebe7890f67ad02f8ac54acc3280330b097 (diff)
downloadopenembedded-core-e752d6f3aa7b0a93cc3af880bee7f88d778d1f67.tar.gz
openembedded-core-e752d6f3aa7b0a93cc3af880bee7f88d778d1f67.tar.bz2
openembedded-core-e752d6f3aa7b0a93cc3af880bee7f88d778d1f67.zip
Fix bitbake svn fetcher filenames
git-svn-id: https://svn.o-hand.com/repos/poky@204 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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)