Hush you noisy little script

Mon, 31 Mar 2008 14:55:42 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Mon, 31 Mar 2008 14:55:42 +0000
changeset 22742
ebf85d0ab743
parent 22741
a0fa24e9b548
child 22743
f8193b199ff8

Hush you noisy little script

autogen.sh file | annotate | diff | comparison | revisions
--- a/autogen.sh	Mon Mar 31 14:52:11 2008 +0000
+++ b/autogen.sh	Mon Mar 31 14:55:42 2008 +0000
@@ -55,7 +55,7 @@
 	CMD=$1
 
 	echo -n "checking for ${CMD}... "
-	BIN=`which ${CMD}`
+	BIN=`which ${CMD} 2> /dev/null`
 
 	if [ x"${BIN}" = x"" ] ; then
 		echo "not found."
@@ -87,7 +87,7 @@
 ###############################################################################
 # We really start here, yes, very sneaky!
 ###############################################################################
-FIGLET=`which figlet`
+FIGLET=`which figlet 2> /dev/null`
 if [ x"${FIGLET}" != x"" ] ; then
 	${FIGLET} -f small ${PACKAGE}
 	echo "build system is being generated"

mercurial