aboutsummaryrefslogtreecommitdiffstats
path: root/mkdep
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-23 17:17:27 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-23 17:17:27 +0000
commit756255148d2728155444310ce4f276681c6afc5b (patch)
tree971faf77e568138ddf96ff2bea46068dd2d1e4b5 /mkdep
parentaa2421e49d4ee81561cc9abf0ed43e4fbcf106ed (diff)
Make mkdep throw away stderr since people think the error messages printed are serious when they are not
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3047 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'mkdep')
-rwxr-xr-xmkdep4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkdep b/mkdep
index 05b3aa14b..94e6e482a 100755
--- a/mkdep
+++ b/mkdep
@@ -82,9 +82,9 @@ umask $um
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