summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-12 19:52:48 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-12 19:52:48 +0000
commitca8734ec074abb8da9467afa03283a2e183f5f67 (patch)
tree3278648da32849b3532648265ede3c38aa469219
parent27eb5584a0d544a1b96d7c7035208d90389c4988 (diff)
downloadportage-ca8734ec074abb8da9467afa03283a2e183f5f67.tar.gz
portage-ca8734ec074abb8da9467afa03283a2e183f5f67.tar.bz2
portage-ca8734ec074abb8da9467afa03283a2e183f5f67.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. svn path=/main/trunk/; revision=9856
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 93dc1feea..b58962343 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