summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-16 08:52:43 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-16 08:52:43 +0000
commit11ce59b501b5c82f6705db4d76e468fcbe3412db (patch)
treeb83ac076e11310e33bdbc7d30d7b7160a8704b51 /bitbake/lib/bb/fetch
parent7064e6bd0b0a2439dbd4685f78768213a236d115 (diff)
downloadpoky-11ce59b501b5c82f6705db4d76e468fcbe3412db.tar.gz
bitbake fetch/git.py: Don't use master as a tag
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2501 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 7d55ee9138..31c54d6e9c 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: 54 if 'tag' in ud.parm and len(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