diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2010-03-21 23:25:25 +0100 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2010-03-23 11:32:52 -0700 |
commit | d612d22b073f68b8cf1bb7344e0487820040d80d (patch) | |
tree | 980d9fd59c1f3cd705df1f80ebda8ae0653bebb6 | |
parent | 879229d12c2830dba9e0cb794e61e3c698b8dcc7 (diff) | |
download | bitbake-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__.py | 2 |
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] |