From: Stephen Rothwell Date: Tue, 16 Aug 2016 01:55:23 +0000 (+1000) Subject: do_build: only match full lines X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=150e21b8bdb38977b2453d045d0deed120e77083;p=next-scripts do_build: only match full lines --- diff --git a/do_build b/do_build index 9c3e1a0..daa0428 100755 --- a/do_build +++ b/do_build @@ -61,7 +61,7 @@ $cmd <<-EOF cat \$log b=\$(basename \$log) if [ -f $obdir/\$b ]; then - if [ \$(wc -l <$obdir/\$b) -lt \$(grep -v -F -f $bparent/log-ignore <\$log | wc -l) ]; then + if [ \$(wc -l <$obdir/\$b) -lt \$(grep -v -x -F -f $bparent/log-ignore <\$log | wc -l) ]; then echo "\$sep" echo " log \$b increased number of lines" echo "\$sep"