29 Mar
2008
29 Mar
'08
6:56 p.m.
Author: stkn Date: Sat Mar 29 14:56:20 2008 New Revision: 7982 Modified: freeswitch/trunk/build/getsounds.sh.in Log: Add quotes (fbsd sh needs them) and check if the command can be executed Modified: freeswitch/trunk/build/getsounds.sh.in ============================================================================== --- freeswitch/trunk/build/getsounds.sh.in (original) +++ freeswitch/trunk/build/getsounds.sh.in Sat Mar 29 14:56:20 2008 @@ -7,10 +7,10 @@ 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