From: Mathieu Rene Date: Fri, 20 Feb 2009 04:38:54 +0000 (+0000) Subject: fix getlib.sh's curl/wget detection X-Git-Tag: v1.0.4~1925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69fe38ad794d69f5b9595e1646d590d1eba41b3b;p=thirdparty%2Ffreeswitch.git fix getlib.sh's curl/wget detection git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12175 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/build/getlib.sh.in b/build/getlib.sh.in index 6ff194dceb..db10f6726c 100755 --- a/build/getlib.sh.in +++ b/build/getlib.sh.in @@ -5,10 +5,10 @@ ZCAT=@ZCAT@ WGET=@WGET@ CURL=@CURL@ -if [ -f $WGET ] ; then +if [ -f "$WGET" ] ; then DOWNLOAD_CMD=$WGET else - if [ -f $CURL ] ; then + if [ -f "$CURL" ] ; then DOWNLOAD_CMD="$CURL -O" fi fi