From 7c552996597faaee2fbee185b250c0ee30ea3b5f Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 14 Dec 2016 21:13:04 +0000 Subject: meta: remove True option to getVar calls getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock Signed-off-by: Ross Burton --- .../recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-gnome/gobject-introspection') diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb index b6d296aa09..0c29a3b377 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb @@ -168,6 +168,6 @@ python gobject_introspection_preconfigure () { SSTATEPOSTINSTFUNCS += "gobject_introspection_postinst" python gobject_introspection_postinst () { - if d.getVar("BB_CURRENTTASK", True).startswith("populate_sysroot"): + if d.getVar("BB_CURRENTTASK").startswith("populate_sysroot"): oe.utils.write_ld_so_conf(d) } -- cgit v1.2.3