summaryrefslogtreecommitdiffstats
path: root/net/freeswitch-core-devel/files/patch-build-getlib.sh.in
blob: b0a0b8a774ff8e2c336171ac699712e53f842495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- build/getlib.sh.in
+++ build/getlib.sh.in
@@ -8,10 +8,10 @@ XZ=@XZ@
 WGET=@WGET@
 CURL=@CURL@
 
-if [ -f "$WGET" ]; then
-  DOWNLOAD_CMD=$WGET
-elif [ -f "$CURL" ]; then
+if [ -f "$CURL" ]; then
   DOWNLOAD_CMD="$CURL -O"
+elif [ -f "$WGET" ]; then
+  DOWNLOAD_CMD=$WGET
 fi
 
 if [ -n "`echo $1 | grep '://'`" ]; then
OpenPOWER on IntegriCloud