Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 22471 | Differences between
and this patch

Collapse All | Expand All

(-)functions.sh.old (-6 / +14 lines)
Lines 89-104 Link Here
89
	then
89
	then
90
		return
90
		return
91
	else
91
	else
92
		echo -e " ${GOOD}*${NORMAL} ${*}..."
92
		eecho -e " ${GOOD}*${NORMAL} ${*}..."
93
	fi
94
}
95
96
eecho() {
97
	echo $*
98
	if [ -n "${MSG_FILE}" ]
99
	then
100
		echo $* >> ${MSG_FILE}
93
	fi
101
	fi
94
}
102
}
95
103
96
ewarn() {
104
ewarn() {
97
	if [ "${QUIET_STDOUT}" = "yes" ]
105
	if [ "${QUIET_STDOUT}" = "yes" ]
98
	then
106
	then
99
		echo " ${*}"
107
		eecho " ${*}"
100
	else
108
	else
101
		echo -e " ${WARN}*${NORMAL} ${*}"
109
		eecho -e " ${WARN}*${NORMAL} ${*}"
102
	fi
110
	fi
103
111
104
	# Log warnings to system log
112
	# Log warnings to system log
Lines 110-116 Link Here
110
	then
118
	then
111
		echo " ${*}" >/dev/stderr
119
		echo " ${*}" >/dev/stderr
112
	else
120
	else
113
		echo -e " ${BAD}*${NORMAL} ${*}"
121
		eecho -e " ${BAD}*${NORMAL} ${*}"
114
	fi
122
	fi
115
123
116
	# Log errors to system log
124
	# Log errors to system log
Lines 122-128 Link Here
122
	then
130
	then
123
		return
131
		return
124
	else
132
	else
125
		echo -e " ${GOOD}*${NORMAL} ${*}"
133
		eecho -e " ${GOOD}*${NORMAL} ${*}"
126
	fi
134
	fi
127
}
135
}
128
136
Lines 131-137 Link Here
131
	then
139
	then
132
		return
140
		return
133
	else
141
	else
134
		echo -ne " ${GOOD}*${NORMAL} ${*}"
142
		eecho -ne " ${GOOD}*${NORMAL} ${*}"
135
	fi
143
	fi
136
}
144
}
137
145

Return to bug 22471