summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-12 19:54:38 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-12 19:54:38 +0000
commita2280b11779985f64af61b3c03075dc648430690 (patch)
treee778db672301acf285631e149aa72bd77b62b889
parent634bced1a092da0b77ccf8d86f24def4def11327 (diff)
downloadportage-a2280b11779985f64af61b3c03075dc648430690.tar.gz
portage-a2280b11779985f64af61b3c03075dc648430690.tar.bz2
portage-a2280b11779985f64af61b3c03075dc648430690.zip
Bug #217444 - Send debug-print() output to stderr so that it can't interfere
with command substitution. Thanks to Fabio Rossi <rossi.f@inwind.it> for this patch. (trunk r9856) svn path=/main/branches/2.1.2/; revision=9857
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index cc42e8581..98fd31401 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1103,7 +1103,7 @@ debug-print() {
# extra user-configurable targets
if [ "$ECLASS_DEBUG_OUTPUT" == "on" ]; then
- echo "debug: $1"
+ echo "debug: $1" >&2
elif [ -n "$ECLASS_DEBUG_OUTPUT" ]; then
echo "debug: $1" >> $ECLASS_DEBUG_OUTPUT
fi