aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-25 15:28:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:47:46 +0000
commitc19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd (patch)
treec1ff1e490684eb9299dee268564aa08e0343dd57 /bin
parent3b45c479de8640f92dd1d9f147b02e1eecfaadc8 (diff)
downloadbitbake-c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd.tar.gz
bitbake: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake-worker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake-worker b/bin/bitbake-worker
index 8d043946c..10de54c9c 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -243,7 +243,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, append
the_data.setVar(e, fakeenv[e])
the_data.setVarFlag(e, 'export', "1")
- task_exports = the_data.getVarFlag(taskname, 'exports', True)
+ task_exports = the_data.getVarFlag(taskname, 'exports')
if task_exports:
for e in task_exports.split():
the_data.setVarFlag(e, 'export', '1')