diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-16 11:58:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-16 11:58:13 +0000 |
commit | 9a1a624518890231b2283c38f3a02323cb9e6b29 (patch) | |
tree | 41f8524820fca2c6f2a90574bcc3c7b88641c7ae /bitbake/lib/bb | |
parent | 7611768e23d9809f458691454c2aeb60d7b26e7d (diff) | |
download | openembedded-core-9a1a624518890231b2283c38f3a02323cb9e6b29.tar.gz openembedded-core-9a1a624518890231b2283c38f3a02323cb9e6b29.tar.bz2 openembedded-core-9a1a624518890231b2283c38f3a02323cb9e6b29.zip |
git.py: Fix reference to tag
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2503 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index 31c54d6e9c..0b04840bf7 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py @@ -51,7 +51,7 @@ class Git(Fetch): ud.proto = ud.parm['protocol'] tag = data.getVar("SRCREV", d, 0) - if 'tag' in ud.parm and len(tag) == 40: + if 'tag' in ud.parm and len(ud.parm['tag']) == 40: ud.tag = ud.parm['tag'] elif tag and "get_srcrev" not in tag and len(tag) == 40: ud.tag = tag |