projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecdf49
)
try curl before wget, workaround for issue with FTP PASV
author
Kshitij Bansal
<kshitij@cs.nyu.edu>
Thu, 12 Feb 2015 13:49:50 +0000
(08:49 -0500)
committer
Kshitij Bansal
<kshitij@cs.nyu.edu>
Thu, 12 Feb 2015 13:49:50 +0000
(08:49 -0500)
contrib/get-antlr-3.4
patch
|
blob
|
history
diff --git
a/contrib/get-antlr-3.4
b/contrib/get-antlr-3.4
index 74bce743e609db49807363f241029dd6086c2827..436ef6a8d098d158b1022080090afeedcde4ffa2 100755
(executable)
--- a/
contrib/get-antlr-3.4
+++ b/
contrib/get-antlr-3.4
@@
-15,10
+15,10
@@
if ! [ -e src/parser/cvc/Cvc.g ]; then
fi
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