[Asterisk-cvs] libpri mkdep,1.1,1.2

citats at lists.digium.com citats at lists.digium.com
Tue Jun 29 11:33:23 CDT 2004


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

Modified Files:
	mkdep 
Log Message:
Make mkdep throw away stderr

Index: mkdep
===================================================================
RCS file: /usr/cvsroot/libpri/mkdep,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mkdep	30 Mar 2004 20:18:12 -0000	1.1
+++ mkdep	29 Jun 2004 15:19:15 -0000	1.2
@@ -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