commit 237c30900cf261e31d54ed426ff4b1896e2e3667 parent 4b089276b87abeddce25231c1add5ed3b42aa040 Author: rsc <devnull@localhost> Date: Fri, 18 Mar 2005 18:50:33 +0000 quiet 9l Diffstat:
M | bin/9l | | | 11 | ++++++++++- |
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/bin/9l b/bin/9l @@ -252,10 +252,19 @@ if $verbose then echo $ld -L$PLAN9/lib "$@" $libsl $extralibs fi -if $ld -L$PLAN9/lib "$@" $libsl $extralibs + +xtmp=/tmp/9l.$$.$USER.out +xxout() { + egrep -v ': In function `' $xtmp + rm -f $xtmp +} + +if $ld -L$PLAN9/lib "$@" $libsl $extralibs >$xtmp 2>&1 then + xxout exit 0 else + xxout rm -f $target exit 1 fi