From: Anthony Minessale Date: Fri, 21 Feb 2014 21:51:21 +0000 (-0600) Subject: make color more portable X-Git-Tag: v1.5.8~25^2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c1f6ef2ed8dc3701b867bc6e86cf5c8f77f5041;p=thirdparty%2Ffreeswitch.git make color more portable --- 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