]> code.ossystems Code Review - openembedded-core.git/commitdiff
verify-bashisms: fix typo
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 31 Jan 2017 12:50:26 +0000 (13:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 15:28:35 +0000 (15:28 +0000)
Variable was renamed, it's now called "output".

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/verify-bashisms

index a8f761d4c532f3444f8e135bf466cfdc0a66b0ec..1bda60cbd98ca358974a05042b953c63b6070b56 100755 (executable)
@@ -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