From: Zac Medico Date: Thu, 23 Aug 2007 06:54:48 +0000 (-0000) Subject: Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}... X-Git-Tag: v2.1.3.9~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc3bb50020a6e9af8ca8542f986cccc00978a770;p=portage.git Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. (trunk r7678) svn path=/main/branches/2.1.2/; revision=7679 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f45e1b69d..c2b06b691 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1193,7 +1193,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