]> git.ozlabs.org Git - next-scripts/commitdiff
do_build: only care if the logs are longer
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 May 2016 23:24:52 +0000 (09:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 May 2016 23:29:14 +0000 (09:29 +1000)
do_build

index b002f5ef56b36f662eae9dc76c5d43636acc23aa..ecef199aae1edfd2bcde21e191756aadbc6b133d 100755 (executable)
--- a/do_build
+++ b/do_build
@@ -166,9 +166,9 @@ $cmd <<-EOF
        for i in \$log_x86 \$log_ppc \$log_arm \$log_perf; do
                b=\$(basename \$i)
                if [ -f $obdir/\$b ]; then
        for i in \$log_x86 \$log_ppc \$log_arm \$log_perf; do
                b=\$(basename \$i)
                if [ -f $obdir/\$b ]; then
-                       if [ \$(wc -l <$obdir/\$b) -ne \$(wc -l <\$i) ]; then
+                       if [ \$(wc -l <$obdir/\$b) -lt \$(wc -l <\$i) ]; then
                                echo "=================================================="
                                echo "=================================================="
-                               echo " log \$i changed number of lines"
+                               echo " log \$i increased number of lines"
                                echo "=================================================="
                                diff -u $obdir/\$b \$i 2>&1 | less
                        fi
                                echo "=================================================="
                                diff -u $obdir/\$b \$i 2>&1 | less
                        fi