summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-23 06:54:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-23 06:54:18 +0000
commit6d00f2c1a81c67008d8b1181067f4c5b0627b7dd (patch)
tree233c6f9ae4d6d8f96c11dc0fe4eb526ff72914c2
parent56ed9de8f9240b44946bd9b4bc5261e5593ca410 (diff)
downloadportage-6d00f2c1a81c67008d8b1181067f4c5b0627b7dd.tar.gz
portage-6d00f2c1a81c67008d8b1181067f4c5b0627b7dd.tar.bz2
portage-6d00f2c1a81c67008d8b1181067f4c5b0627b7dd.zip
Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log.
svn path=/main/trunk/; revision=7678
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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