tquiet 9l - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 237c30900cf261e31d54ed426ff4b1896e2e3667
(DIR) parent 4b089276b87abeddce25231c1add5ed3b42aa040
(HTM) 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(-)
---
(DIR) diff --git a/bin/9l b/bin/9l
t@@ -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