aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/verify-bashisms
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-23 13:23:44 +0000
committerJoshua Lock <joshua.g.lock@intel.com>2016-12-05 15:36:27 +0000
commitcc01d32cc0843bcae6656a8ec3c694f64f2637d9 (patch)
tree00c54fe9d16dffd69a58c18c1b3f6e0ef121d616 /scripts/verify-bashisms
parent65250a5537da220dff662269cb81d086b66c2ace (diff)
downloadopenembedded-core-contrib-cc01d32cc0843bcae6656a8ec3c694f64f2637d9.tar.gz
meta: remove True option to getVarFlag callsjoshuagl/getvar
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>
Diffstat (limited to 'scripts/verify-bashisms')
-rwxr-xr-xscripts/verify-bashisms2
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))