From ca8734ec074abb8da9467afa03283a2e183f5f67 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 12 Apr 2008 19:52:48 +0000 Subject: [PATCH] Bug #217444 - Send debug-print() output to stderr so that it can't interfere with command substitution. Thanks to Fabio Rossi for this patch. svn path=/main/trunk/; revision=9856 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2