diff options
Diffstat (limited to 'bitbake')
-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): | |||
51 | ud.proto = ud.parm['protocol'] | 51 | ud.proto = ud.parm['protocol'] |
52 | 52 | ||
53 | tag = data.getVar("SRCREV", d, 0) | 53 | tag = data.getVar("SRCREV", d, 0) |
54 | if 'tag' in ud.parm and len(tag) == 40: | 54 | if 'tag' in ud.parm and len(ud.parm['tag']) == 40: |
55 | ud.tag = ud.parm['tag'] | 55 | ud.tag = ud.parm['tag'] |
56 | elif tag and "get_srcrev" not in tag and len(tag) == 40: | 56 | elif tag and "get_srcrev" not in tag and len(tag) == 40: |
57 | ud.tag = tag | 57 | ud.tag = tag |