[Freeswitch-svn] [commit] r4875 - freeswitch/trunk

Freeswitch SVN mikej at freeswitch.org
Fri Apr 6 19:45:01 EDT 2007


Author: mikej
Date: Fri Apr  6 19:45:01 2007
New Revision: 4875

Modified:
   freeswitch/trunk/bootstrap.sh

Log:
make bootstrap.sh work on /bin/sh

Modified: freeswitch/trunk/bootstrap.sh
==============================================================================
--- freeswitch/trunk/bootstrap.sh	(original)
+++ freeswitch/trunk/bootstrap.sh	Fri Apr  6 19:45:01 2007
@@ -68,9 +68,9 @@
 IFS=.; set $lt_version; IFS=' '
 lt_status="good"
 
-a=$[$1+0]
-b=$[$2+0]
-c=$[$3+0]
+if test -z "$1"; then a=0 ; else a=$1;fi
+if test -z "$2"; then b=0 ; else b=$2;fi
+if test -z "$3"; then c=0 ; else c=$3;fi
 
 if test "$a" -lt "2"; then
    if test "$b" -lt "5" -o "$b" =  "5" -a "$c" -lt "14" ; then



More information about the Freeswitch-svn mailing list