]> git.ozlabs.org Git - next-scripts/commitdiff
do_build: only match full lines
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 16 Aug 2016 01:55:23 +0000 (11:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 16 Aug 2016 01:55:23 +0000 (11:55 +1000)
do_build

index 9c3e1a02a328d8ab7f83cf1aa0577743bf37f6ae..daa04283673bf52c0360c4123ff0665f11d86509 100755 (executable)
--- 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"