summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2010-03-21 23:25:25 +0100
committerChris Larson <clarson@kergoth.com>2010-03-23 11:32:52 -0700
commitd612d22b073f68b8cf1bb7344e0487820040d80d (patch)
tree980d9fd59c1f3cd705df1f80ebda8ae0653bebb6
parent879229d12c2830dba9e0cb794e61e3c698b8dcc7 (diff)
downloadbitbake-d612d22b073f68b8cf1bb7344e0487820040d80d.tar.gz
Expand PREMIRRORS
When not expanding PREMIRRORS, the functions fails/does not work correctly when PREMIRRORS is not a plain string (e.g. contains ${...} or a ${@...} statements). Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Chris Larson <clarson@kergoth.com>
-rw-r--r--lib/bb/fetch/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py
index 598a41bf9..6edb5e5fa 100644
--- a/lib/bb/fetch/__init__.py
+++ b/lib/bb/fetch/__init__.py
@@ -524,7 +524,7 @@ class FetchData(object):
# if user sets localpath for file, use it instead.
self.localpath = self.parm["localpath"]
else:
- premirrors = bb.data.getVar('PREMIRRORS', d)
+ premirrors = bb.data.getVar('PREMIRRORS', d, True)
local = ""
if premirrors and self.url:
aurl = self.url.split(";")[0]