summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2008-02-18 09:35:07 +0000
committerRichard Brown <rbrown@gentoo.org>2008-02-18 09:35:07 +0000
commit6faf55ae24e167677fc013b754432a10cd70b581 (patch)
tree219ef987d610dfb68ba687f1f72e128885ec5a2e /sys-apps/paludis/files
parentversion bump. cleanups (diff)
downloadgentoo-2-6faf55ae24e167677fc013b754432a10cd70b581.tar.gz
gentoo-2-6faf55ae24e167677fc013b754432a10cd70b581.tar.bz2
gentoo-2-6faf55ae24e167677fc013b754432a10cd70b581.zip
Add echo function stderr patch.
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-apps/paludis/files')
-rw-r--r--sys-apps/paludis/files/paludis-0.26.0_alpha9-echo-functions.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/paludis/files/paludis-0.26.0_alpha9-echo-functions.patch b/sys-apps/paludis/files/paludis-0.26.0_alpha9-echo-functions.patch
new file mode 100644
index 000000000000..2da9e1351aa1
--- /dev/null
+++ b/sys-apps/paludis/files/paludis-0.26.0_alpha9-echo-functions.patch
@@ -0,0 +1,27 @@
+diff --git a/paludis/util/echo_functions.bash.in b/paludis/util/echo_functions.bash.in
+Source: written by David Leverton
+Upstream: probably by next release
+Reason: http://thread.gmane.org/gmane.linux.gentoo.user/194929
+index 3a15a77..9af0cf0 100644
+--- a/paludis/util/echo_functions.bash.in
++++ b/paludis/util/echo_functions.bash.in
+@@ -49,8 +49,8 @@ paludis_ecmd()
+ {
+ local cmd="$1" hook="$2" prefix="$3" message="$4" newline="$5"
+
+- echo -n "${prefix}${message}"
+- [[ -z "${newline}" ]] && echo
++ echo -n "${prefix}${message}" >&2
++ [[ -z "${newline}" ]] && echo >&2
+
+ if type perform_hook &>/dev/null ; then
+ if [[ -n "${hook}" ]] ; then
+@@ -150,7 +150,7 @@ _eend()
+ msg="${COLOUR_BRACKET}[ ${COLOUR_BAD}!!${COLOUR_BRACKET} ]${COLOUR_NORMAL}"
+ fi
+
+- echo -e "${PALUDIS_ENDCOL} ${msg}"
++ echo -e "${PALUDIS_ENDCOL} ${msg}" >&2
+
+ return ${retval}
+ }