diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-04-02 19:53:43 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-04-06 15:32:21 +1000 |
commit | fa601c41ed356a7d9e05995fa4337203cfaab6ed (patch) | |
tree | e83cac8bdc2ea1df6abd922c63604e441617ebd1 /scripts | |
parent | 5caf143faaa64bd76c10c8e35dd0adbfd8619615 (diff) | |
download | pacman-fa601c41ed356a7d9e05995fa4337203cfaab6ed.tar.xz |
makepkg: remove extra ansi color codes
All those extra '\e[1;'s were just setting bold redundantly or
immediately being cancelled.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index da620a45..7ba53b07 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2640,12 +2640,12 @@ if [[ -t 2 && ! $USE_COLOR = "n" ]] && check_buildenv "color" "y"; then RED="${BOLD}$(tput setaf 1)" YELLOW="${BOLD}$(tput setaf 3)" else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" + ALL_OFF="\e[0m" + BOLD="\e[1m" + BLUE="${BOLD}\e[34m" + GREEN="${BOLD}\e[32m" + RED="${BOLD}\e[31m" + YELLOW="${BOLD}\e[33m" fi fi readonly ALL_OFF BOLD BLUE GREEN RED YELLOW |