From 5cd4a3d0cb17ed573dd1acd0111ddcf277836400 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich <stkn@freeswitch.org> Date: Sat, 29 Mar 2008 18:56:20 +0000 Subject: [PATCH] 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 --- build/getsounds.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/getsounds.sh.in b/build/getsounds.sh.in index 27332bf48c..a19f24eb14 100755 --- a/build/getsounds.sh.in +++ b/build/getsounds.sh.in @@ -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