From 0c1f6ef2ed8dc3701b867bc6e86cf5c8f77f5041 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 21 Feb 2014 15:51:21 -0600 Subject: [PATCH] make color more portable --- build/modcheck.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/modcheck.sh b/build/modcheck.sh index 6dad95bc65..85c2b169e1 100644 --- a/build/modcheck.sh +++ b/build/modcheck.sh @@ -19,10 +19,11 @@ files=`ls *.dylib *.so 2>/dev/null` cd $here alert() { - - /bin/echo -ne "\e[00;35m" + on='' + off='' + echo -n $on echo WARNING: $1 - /bin/echo -ne '\e[00m' + echo -n $off } for i in $files ; do