diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | 6bba41832b465fa8c13243a5ad5f07309c2371b4 (patch) | |
tree | 7d98cfc5b1589a4543b25b0e8d2773c622a822ab /scripts/verify-bashisms | |
parent | 3c59b1bf93adb0b9f723bda1d8702c8720733677 (diff) | |
download | openembedded-core-contrib-6bba41832b465fa8c13243a5ad5f07309c2371b4.tar.gz |
scripts: 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\)
(From OE-Core rev: 3e4806063fe11092b2307f113a6c0b0f04104091)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/verify-bashisms')
-rwxr-xr-x | scripts/verify-bashisms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index 0741e18447..a8f761d4c5 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-bashisms @@ -97,7 +97,7 @@ if __name__=='__main__': result = [] data = tinfoil.parse_recipe_file(fn) for key in data.keys(): - if data.getVarFlag(key, "func", True) and not data.getVarFlag(key, "python", True): + if data.getVarFlag(key, "func") and not data.getVarFlag(key, "python"): script = data.getVar(key, False) if not script: continue #print ("%s:%s" % (fn, key)) |