svn path=/main/trunk/; revision=4339
# Distributed under the terms of the GNU General Public License v2
# $Header$
-# Internal logging function, don't use this in ebuilds
+quiet_mode() {
+ [[ ${PORTAGE_QUIET} -eq 1 ]]
+}
+
vecho() {
- [[ ${PORTAGE_QUIET} == "1" ]] || echo "$@"
+ quiet_mode || echo "$@"
}
+# Internal logging function, don't use this in ebuilds
elog_base() {
local messagetype
[ -z "${1}" -o -z "${T}" -o ! -d "${T}/logging" ] && return 1
set -o noglob
for no_inst in ${install_mask}; do
set +o noglob
- einfo "Removing ${no_inst}"
+ quiet_mode || einfo "Removing ${no_inst}"
# normal stuff
rm -Rf ${root}/${no_inst} >&/dev/null