From: Zac Medico Date: Thu, 23 Aug 2007 06:54:18 +0000 (-0000) Subject: Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}... X-Git-Tag: v2.2_pre1~857 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d00f2c1a81c67008d8b1181067f4c5b0627b7dd;p=portage.git Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. svn path=/main/trunk/; revision=7678 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 39fcbb355..714371352 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1115,7 +1115,7 @@ debug-print() { fi # default target - echo "$1" >> "${T}/eclass-debug.log" + echo "$1" 2>/dev/null >> "${T}/eclass-debug.log" # let the portage user own/write to this file chmod g+w "${T}/eclass-debug.log" &>/dev/null