projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea970ad
)
attempt to fix win32 builds
author
Kshitij Bansal
<kshitij@cs.nyu.edu>
Sat, 14 Feb 2015 10:21:28 +0000
(
05:21
-0500)
committer
Kshitij Bansal
<kshitij@cs.nyu.edu>
Sat, 14 Feb 2015 10:21:28 +0000
(
05:21
-0500)
contrib/win32-build
patch
|
blob
|
history
diff --git
a/contrib/win32-build
b/contrib/win32-build
index 972db17de94a18114a0a04fa3f821f532b3b6d11..45c9dfa54b15dbf0e268ea526039c1aa01cedd47 100755
(executable)
--- 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