]> git.ozlabs.org Git - next-scripts/commitdiff
do_build: sed likes some input
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jan 2017 00:59:50 +0000 (11:59 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jan 2017 00:59:50 +0000 (11:59 +1100)
do_build

index 918fef95b042ca1acc93c4834e7455d54d6584da..2053bd63dae015074c3ad7695a8909b05ee00766 100755 (executable)
--- a/do_build
+++ b/do_build
@@ -72,8 +72,8 @@ $cmd <<-EOF
                cat \$log
                b=\$(basename \$log)
                if [ -f $obdir/\$b ]; then
-                       olen=\$(sanitise_log $obdir/\$b | wc -l)
-                       len=\$(sanitise_log \$log | wc -l)
+                       olen=\$(sanitise_log <$obdir/\$b | wc -l)
+                       len=\$(sanitise_log <\$log | wc -l)
                        if [ \$olen -lt \$len ]; then
                                echo "\$sep"
                                echo " log \$b increased number of lines"