[Asterisk-cvs] asterisk mkdep,1.3,1.4

citats at lists.digium.com citats at lists.digium.com
Sun May 23 13:03:52 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/home/citats/cvs/asterisk

Modified Files:
	mkdep 
Log Message:
Make mkdep throw away stderr since people think the error messages printed are serious when they are not

Index: mkdep
===================================================================
RCS file: /usr/cvsroot/asterisk/mkdep,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mkdep	19 Aug 2003 06:06:50 -0000	1.3
+++ mkdep	23 May 2004 17:17:27 -0000	1.4
@@ -82,9 +82,9 @@
 trap 'rm -rf $DTMP ; trap 2 ; kill -2 $$' 1 2 3 13 15
 
 if [ x$pflag = x ]; then
-	${CC:-cc} -M "$@" | sed -e 's; \./; ;g' > $TMP
+	${CC:-cc} -M "$@" 2>/dev/null | sed -e 's; \./; ;g' > $TMP
 else
-	${CC:-cc} -M "$@" | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
+	${CC:-cc} -M "$@" 2>/dev/null | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
 fi
 
 if [ $? != 0 ]; then




More information about the svn-commits mailing list