mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
16 lines
323 B
Bash
16 lines
323 B
Bash
--- 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
|