Add quotes (fbsd sh needs them) and check if the command can be executed

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7982 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Stefan Knoblich 2008-03-29 18:56:20 +00:00
parent 43f2016bed
commit 5cd4a3d0cb
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ CURL=@CURL@
DIR=`pwd`
if [ -f $WGET ] ; then
if [ -x "$WGET" ] ; then
DOWNLOAD_CMD=$WGET
else
if [ -f $CURL ] ; then
if [ -x "$CURL" ] ; then
DOWNLOAD_CMD="$CURL -O"
fi
fi