[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4421/8267] verify-bashisms: fix typo



commit 15a97dea65778e38b77a8787004cf30da716fb59
Author: Patrick Ohly <patrick ohly intel com>
Date:   Tue Jan 31 13:50:26 2017 +0100

    verify-bashisms: fix typo
    
    Variable was renamed, it's now called "output".
    
    (From OE-Core rev: c3d125b4132e5a706f6265a5bcaedafbe8e5355f)
    
    Signed-off-by: Patrick Ohly <patrick ohly intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/verify-bashisms |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]