From: Zac Medico Date: Sat, 12 Apr 2008 19:54:38 +0000 (-0000) Subject: Bug #217444 - Send debug-print() output to stderr so that it can't interfere X-Git-Tag: v2.1.5~186 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a2280b11779985f64af61b3c03075dc648430690;p=portage.git Bug #217444 - Send debug-print() output to stderr so that it can't interfere with command substitution. Thanks to Fabio Rossi for this patch. (trunk r9856) svn path=/main/branches/2.1.2/; revision=9857 --- 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