]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make color more portable
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 21 Feb 2014 21:51:21 +0000 (15:51 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 21 Feb 2014 21:49:33 +0000 (15:49 -0600)
build/modcheck.sh

index 6dad95bc6508c33214e8e8651602e842df8c1a45..85c2b169e1d41f7190348f1f99b588d91a021887 100644 (file)
@@ -19,10 +19,11 @@ files=`ls *.dylib *.so 2>/dev/null`
 cd $here
 
 alert() {
-
-    /bin/echo -ne "\e[00;35m"
+    on='\e[01;00;35m'
+    off='\e[0m'
+    echo -n $on
     echo WARNING: $1
-    /bin/echo -ne '\e[00m'
+    echo -n $off
 }
 
 for i in $files ; do