summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-17 04:05:20 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-17 04:05:20 +0000
commitf8e4453b4cd76184af5c155da2e4d7885666dd76 (patch)
treeaf7a050f51ad5d77d4ee70ab0664b5a82ee56474 /bin
parentAdd support for an new "eblank" elog function that shows a blank line. (diff)
downloadportage-multirepo-f8e4453b4cd76184af5c155da2e4d7885666dd76.tar.gz
portage-multirepo-f8e4453b4cd76184af5c155da2e4d7885666dd76.tar.bz2
portage-multirepo-f8e4453b4cd76184af5c155da2e4d7885666dd76.zip
* Rename NEUTRAL color to BLANK for eblank.
* Document the new BLANK code in color.map.5. * Implement python version of eblank for mod_echo. svn path=/main/trunk/; revision=10677
Diffstat (limited to 'bin')
-rwxr-xr-xbin/isolated-functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index dd157129..5851a55c 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -178,7 +178,7 @@ eblank() {
[[ ${LAST_E_CMD} == "eblank" ]] && return 0
elog_base BLANK
[[ ${RC_ENDCOL} != "yes" && ${LAST_E_CMD} == "ebegin" ]] && echo
- echo -e " ${NEUTRAL}*${NORMAL}"
+ echo -e " ${BLANK}*${NORMAL}"
LAST_E_CMD="eblank"
return 0
}
@@ -353,7 +353,7 @@ unset_colors() {
COLS="25 80"
ENDCOL=
- NEUTRAL=
+ BLANK=
GOOD=
WARN=
BAD=
@@ -376,7 +376,7 @@ set_colors() {
if [ -n "${PORTAGE_COLORMAP}" ] ; then
eval ${PORTAGE_COLORMAP}
else
- NEUTRAL=$'\e[37m'
+ BLANK=$'\e[37m'
GOOD=$'\e[32;01m'
WARN=$'\e[33;01m'
BAD=$'\e[31;01m'