]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make bootstrap.sh work on /bin/sh
authorMichael Jerris <mike@jerris.com>
Fri, 6 Apr 2007 23:45:01 +0000 (23:45 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 6 Apr 2007 23:45:01 +0000 (23:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4875 d0543943-73ff-0310-b7d9-9358b9ac24b2

bootstrap.sh

index 214d36f1a3fb9e70553468e668715449cb846fcb..6df56b587c88bbc7fa33247fa04bb549dca96658 100755 (executable)
@@ -68,9 +68,9 @@ lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
 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