[OE-core] [PATCH 1/8] verify-bashisms: fix typo

Patrick Ohly patrick.ohly at intel.com
Tue Jan 31 12:50:26 UTC 2017


Variable was renamed, it's now called "output".

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 scripts/verify-bashisms | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms
index a8f761d..1bda60c 100755
--- a/scripts/verify-bashisms
+++ b/scripts/verify-bashisms
@@ -41,7 +41,7 @@ def process(recipe, function, script):
 
         # Replace the temporary filename with the function and split it
         output = e.output.replace(fn.name, function).splitlines()
-        if len(results) % 2 != 0:
+        if len(output) % 2 != 0:
             print("Unexpected output from checkbashism: %s" % str(output))
             return
 
-- 
git-series 0.9.1



More information about the Openembedded-core mailing list