From 2bc59bff13162a306af46ecfb3e29b24df5706a5 Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Fri, 6 Apr 2007 23:45:01 +0000
Subject: [PATCH] make bootstrap.sh work on /bin/sh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4875 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 bootstrap.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bootstrap.sh b/bootstrap.sh
index 214d36f1a3..6df56b587c 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -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