summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-23 06:54:48 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-23 06:54:48 +0000
commitdc3bb50020a6e9af8ca8542f986cccc00978a770 (patch)
tree20fd17aebc161ed393af57260c1f785a738e2c26 /bin
parentbb34cf9a86ec178a1fa9b3fffc298fa2d3aba03e (diff)
downloadportage-dc3bb50020a6e9af8ca8542f986cccc00978a770.tar.gz
portage-dc3bb50020a6e9af8ca8542f986cccc00978a770.tar.bz2
portage-dc3bb50020a6e9af8ca8542f986cccc00978a770.zip
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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