From d612d22b073f68b8cf1bb7344e0487820040d80d Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 21 Mar 2010 23:25:25 +0100 Subject: 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 Signed-off-by: Chris Larson --- lib/bb/fetch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit 1.2.3-korg