Skip to content
Snippets Groups Projects
Commit 5e29d3a5 authored by James Golovich's avatar James Golovich
Browse files

Make mkdep throw away stderr since people think the error messages printed are...

Make mkdep throw away stderr since people think the error messages printed are serious when they are not


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 25ca4c85
No related branches found
No related tags found
No related merge requests found
...@@ -82,9 +82,9 @@ umask $um ...@@ -82,9 +82,9 @@ umask $um
trap 'rm -rf $DTMP ; trap 2 ; kill -2 $$' 1 2 3 13 15 trap 'rm -rf $DTMP ; trap 2 ; kill -2 $$' 1 2 3 13 15
if [ x$pflag = x ]; then 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 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 fi
if [ $? != 0 ]; then if [ $? != 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment