mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 04:14:47 +00:00
fix getlib.sh's curl/wget detection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12175 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
68743f3042
commit
69fe38ad79
@ -5,10 +5,10 @@ ZCAT=@ZCAT@
|
||||
WGET=@WGET@
|
||||
CURL=@CURL@
|
||||
|
||||
if [ -f $WGET ] ; then
|
||||
if [ -f "$WGET" ] ; then
|
||||
DOWNLOAD_CMD=$WGET
|
||||
else
|
||||
if [ -f $CURL ] ; then
|
||||
if [ -f "$CURL" ] ; then
|
||||
DOWNLOAD_CMD="$CURL -O"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user