From 0a36bd96e6b29fd99a296efc358ca3e9fb5af735 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 14 Dec 2016 21:13:05 +0000 Subject: scripts: 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 --- scripts/recipetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/recipetool') diff --git a/scripts/recipetool b/scripts/recipetool index 54cbc857dc..3765ec7cf9 100755 --- a/scripts/recipetool +++ b/scripts/recipetool @@ -79,7 +79,7 @@ def main(): tinfoil = tinfoil_init(False) try: - for path in (tinfoil.config_data.getVar('BBPATH', True).split(':') + for path in (tinfoil.config_data.getVar('BBPATH').split(':') + [scripts_path]): pluginpath = os.path.join(path, 'lib', 'recipetool') scriptutils.load_plugins(logger, plugins, pluginpath) -- cgit 1.2.3-korg