[Freeswitch-svn] [commit] r2791 - freeswitch/branches/tholo/build

Freeswitch SVN tholo at freeswitch.org
Fri Sep 22 23:39:52 EDT 2006


Author: tholo
Date: Fri Sep 22 23:39:52 2006
New Revision: 2791

Modified:
   freeswitch/branches/tholo/build/buildlib.sh

Log:
Try to use ftp if wget fails -- works on BSD and Mac OS X

Modified: freeswitch/branches/tholo/build/buildlib.sh
==============================================================================
--- freeswitch/branches/tholo/build/buildlib.sh	(original)
+++ freeswitch/branches/tholo/build/buildlib.sh	Fri Sep 22 23:39:52 2006
@@ -45,7 +45,7 @@
 
     if [ ! -f $tar ] ; then
 	rm -fr $uncompressed
-	wget $base/$tar
+	wget $base/$tar || ftp $base/$tar
 	if [ ! -f $tar ] ; then
 	    echo cannot find $tar
 	    exit



More information about the Freeswitch-svn mailing list