summaryrefslogtreecommitdiffstats
path: root/meta/classes/utils.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r--meta/classes/utils.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 52e511f5cf..c1de2f6930 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -308,10 +308,10 @@ def base_set_filespath(path, d):
308 if extrapaths != "": 308 if extrapaths != "":
309 path = extrapaths.split(":") + path 309 path = extrapaths.split(":") + path
310 # The ":" ensures we have an 'empty' override 310 # The ":" ensures we have an 'empty' override
311 overrides = (d.getVar("OVERRIDES", True) or "") + ":" 311 overrides = ((d.getVar("OVERRIDES", True) or "") + ":").split(":")
312 for p in path: 312 for p in path:
313 if p != "": 313 if p != "":
314 for o in overrides.split(":"): 314 for o in overrides:
315 filespath.append(os.path.join(p, o)) 315 filespath.append(os.path.join(p, o))
316 return ":".join(filespath) 316 return ":".join(filespath)
317 317