[Freeswitch-svn] [commit] r7982 - freeswitch/trunk/build

Freeswitch SVN stkn at freeswitch.org
Sat Mar 29 14:56:21 EDT 2008


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



More information about the Freeswitch-svn mailing list