diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2011-10-31 12:15:55 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-10-31 15:42:23 +0100 |
commit | 1861ff739c6b2173332f9b53240d34e7cb5e051e (patch) | |
tree | d2043f34595fd5ca738e454bce61ac7f7af29b0f | |
parent | 0a0d5e8b86ccc8562ba9761bdd263ebf2667d3c6 (diff) | |
download | coreboot-1861ff739c6b2173332f9b53240d34e7cb5e051e.tar.xz |
buildgcc: Fix colors for dash
The previous fix broke buildgcc colors on MacOS X.
This uses an encoding that should be more universal.
Change-Id: I31ac6090ffb7c04784cf6566823652f229aebbb5
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/361
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-x | util/crossgcc/buildgcc | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index a298dbae66..ee2a81b5ab 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -23,11 +23,6 @@ CROSSGCC_DATE="October 10th, 2011" CROSSGCC_VERSION="1.05" -# To enable colors on dash(1) -if [ -x /usr/bin/printf ]; then -alias printf=/usr/bin/printf -fi - # default settings TARGETDIR=`pwd`/xgcc TARGETARCH=i386-elf @@ -73,15 +68,15 @@ IASL_DIR="acpica-unix-${IASL_VERSION}" SAVETEMPS=0 SKIPGDB=0 -red='\e[0;31m' -RED='\e[1;31m' -green='\e[0;32m' -GREEN='\e[1;32m' -blue='\e[0;34m' -BLUE='\e[1;34m' -cyan='\e[0;36m' -CYAN='\e[1;36m' -NC='\e[0m' # No Color +red='\033[0;31m' +RED='\033[1;31m' +green='\033[0;32m' +GREEN='\033[1;32m' +blue='\033[0;34m' +BLUE='\033[1;34m' +cyan='\033[0;36m' +CYAN='\033[1;36m' +NC='\033[0m' # No Color searchgnu() { |