1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake svn fetcher: Don't use a date when a revision is specified

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1112 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-01-02 16:52:41 +00:00
parent 94ad9963c1
commit a34d402b9e
+3
View File
@@ -55,6 +55,9 @@ class Svn(Fetch):
if 'rev' in ud.parm:
ud.revision = ud.parm['rev']
if ud.revision:
ud.date = ""
ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d)
return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)