diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-09-28 06:38:51 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-09-28 07:25:57 +0200 |
commit | 48bf088e65403049dc430fadf360355a8d5dc07d (patch) | |
tree | 8ba1bbc331746b1455232ff9836002664517d44a | |
parent | b86479cf9b584c62dbda967902cee2a81678c9ef (diff) | |
download | pacman-48bf088e65403049dc430fadf360355a8d5dc07d.tar.gz pacman-48bf088e65403049dc430fadf360355a8d5dc07d.tar.xz |
Use ANSI 'foreground' color instead of hardcoding 'white'
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r-- | scripts/makepkg.sh.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index cf572de4..b73e8a86 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -67,7 +67,7 @@ PACMAN_OPTS= plain() { local mesg=$1; shift if [ -t 2 -a ! "$USE_COLOR" = "n" -a "$(check_buildenv color)" = "y" ]; then - printf "\033[1;37m ${mesg}\033[0m\n" "$@" >&2 + printf "\033[1;1m ${mesg}\033[0m\n" "$@" >&2 else printf " ${mesg}\n" "$@" >&2 fi @@ -76,7 +76,7 @@ plain() { msg() { local mesg=$1; shift if [ -t 2 -a ! "$USE_COLOR" = "n" -a "$(check_buildenv color)" = "y" ]; then - printf "\033[1;32m==>\033[1;37m ${mesg}\033[0m\n" "$@" >&2 + printf "\033[1;32m==>\033[1;1m ${mesg}\033[0m\n" "$@" >&2 else printf "==> ${mesg}\n" "$@" >&2 fi @@ -85,7 +85,7 @@ msg() { msg2() { local mesg=$1; shift if [ -t 2 -a ! "$USE_COLOR" = "n" -a "$(check_buildenv color)" = "y" ]; then - printf "\033[1;34m ->\033[1;37m ${mesg}\033[0m\n" "$@" >&2 + printf "\033[1;34m ->\033[1;1m ${mesg}\033[0m\n" "$@" >&2 else printf " -> ${mesg}\n" "$@" >&2 fi @@ -94,7 +94,7 @@ msg2() { warning() { local mesg=$1; shift if [ -t 2 -a ! "$USE_COLOR" = "n" -a "$(check_buildenv color)" = "y" ]; then - printf "\033[1;33m==> $(gettext "WARNING:")\033[1;37m ${mesg}\033[0m\n" "$@" >&2 + printf "\033[1;33m==> $(gettext "WARNING:")\033[1;1m ${mesg}\033[0m\n" "$@" >&2 else printf "==> $(gettext "WARNING:") ${mesg}\n" "$@" >&2 fi @@ -103,7 +103,7 @@ warning() { error() { local mesg=$1; shift if [ -t 2 -a ! "$USE_COLOR" = "n" -a "$(check_buildenv color)" = "y" ]; then - printf "\033[1;31m==> $(gettext "ERROR:")\033[1;37m ${mesg}\033[0m\n" "$@" >&2 + printf "\033[1;31m==> $(gettext "ERROR:")\033[1;1m ${mesg}\033[0m\n" "$@" >&2 else printf "==> $(gettext "ERROR:") ${mesg}\n" "$@" >&2 fi |