summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2007-08-16 12:20:07 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2007-08-16 12:20:07 +0000
commit8f04875d24f1c1ac817ef993eec74dc3fda55d42 (patch)
treef7dc9f574a2ff5c0805770460251fa1215a33dfb
parent75f44e53981e18b37a0386efa4377b74b6019c68 (diff)
downloadbitbake-8f04875d24f1c1ac817ef993eec74dc3fda55d42.tar.gz
git.py: Fix reference to tag
-rw-r--r--lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py
index 31c54d6e9..0b04840bf 100644
--- a/lib/bb/fetch/git.py
+++ b/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