From 6b10ce5f61bf53bbd1cc2fc5a6c56e5f3324f221 Mon Sep 17 00:00:00 2001 From: Kshitij Bansal Date: Sat, 14 Feb 2015 05:21:28 -0500 Subject: [PATCH] attempt to fix win32 builds --- contrib/win32-build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/win32-build b/contrib/win32-build index 972db17de..45c9dfa54 100755 --- a/contrib/win32-build +++ b/contrib/win32-build @@ -39,10 +39,10 @@ function reporterror { } function webget { - if which wget &>/dev/null; then - wget -c -O "$2" "$1" - elif which curl &>/dev/null; then + if which curl &>/dev/null; then curl "$1" >"$2" + elif which wget &>/dev/null; then + wget -c -O "$2" "$1" else echo "Can't figure out how to download from web. Please install wget or curl." >&2 exit 1 -- 2.30.2