case somebody calls portageq inside a global scope command
substitution. The output needs to go to stderr so that the
die message from the subshell is visible.
svn path=/main/trunk/; revision=9140
ewarn() {
elog_base WARN "$*"
[[ ${RC_ENDCOL} != "yes" && ${LAST_E_CMD} == "ebegin" ]] && echo
- echo -e " ${WARN}*${NORMAL} ${RC_INDENTATION}$*"
+ echo -e " ${WARN}*${NORMAL} ${RC_INDENTATION}$*" >&2
LAST_E_CMD="ewarn"
return 0
}
eerror() {
elog_base ERROR "$*"
[[ ${RC_ENDCOL} != "yes" && ${LAST_E_CMD} == "ebegin" ]] && echo
- echo -e " ${BAD}*${NORMAL} ${RC_INDENTATION}$*"
+ echo -e " ${BAD}*${NORMAL} ${RC_INDENTATION}$*" >&2
LAST_E_CMD="eerror"
return 0
}