From: Stephen Rothwell Date: Wed, 25 Jan 2017 00:59:50 +0000 (+1100) Subject: do_build: sed likes some input X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=67f324d4c29fdf299da6b8b0b86c8a727ae3390e;p=next-scripts do_build: sed likes some input --- diff --git a/do_build b/do_build index 918fef9..2053bd6 100755 --- 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"