From 7046e9633ec3d039db6cc800ebcfb754c5026e0e Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 27 May 2016 09:24:52 +1000 Subject: [PATCH] do_build: only care if the logs are longer --- do_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/do_build b/do_build index b002f5e..ecef199 100755 --- 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 - if [ \$(wc -l <$obdir/\$b) -ne \$(wc -l <\$i) ]; then + if [ \$(wc -l <$obdir/\$b) -lt \$(wc -l <\$i) ]; then 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 -- 2.39.2