diff options
author | ng0 <ng0@n0.is> | 2019-11-16 19:50:03 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-16 19:50:03 +0000 |
commit | afa6e54f65e1a7470371fb964c0d3adbd1956b5b (patch) | |
tree | 6d97e2a6ed6f92750ec288118e51f6e8a341bf8f /bootstrap | |
parent | be6c14f2b2b880d72cd77538e98a067241d90f55 (diff) | |
download | gnunet-afa6e54f65e1a7470371fb964c0d3adbd1956b5b.tar.gz gnunet-afa6e54f65e1a7470371fb964c0d3adbd1956b5b.zip |
bootstrap: swap around downloaders, add message.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -38,12 +38,12 @@ if test $1 = "-d"; then | |||
38 | dir=$(dirname "$(readlink -f -- "$0")") | 38 | dir=$(dirname "$(readlink -f -- "$0")") |
39 | mkdir -p $dir/contrib/vendored | 39 | mkdir -p $dir/contrib/vendored |
40 | cd contrib/vendored | 40 | cd contrib/vendored |
41 | if existence ftp; then | 41 | if existence curl; then |
42 | ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz | ||
43 | elif existence curl; then | ||
44 | curl --output texi2mdoc-0.1.2.tgz https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz | 42 | curl --output texi2mdoc-0.1.2.tgz https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz |
45 | elif existence wget; then | 43 | elif existence wget; then |
46 | wget https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz | 44 | wget https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz |
45 | elif existence ftp; then | ||
46 | ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz | ||
47 | elif existence fetch; then | 47 | elif existence fetch; then |
48 | fetch https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz | 48 | fetch https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz |
49 | else | 49 | else |
@@ -55,6 +55,7 @@ if test $1 = "-d"; then | |||
55 | dir=$(dirname "$(readlink -f -- "$0")") | 55 | dir=$(dirname "$(readlink -f -- "$0")") |
56 | make | 56 | make |
57 | echo "please prepend or append $dir/contrib/vendored/texi2mdoc/ to your PATH before running configure" | 57 | echo "please prepend or append $dir/contrib/vendored/texi2mdoc/ to your PATH before running configure" |
58 | echo "and pass --enable-texi2mdoc-generation to configure" | ||
58 | else | 59 | else |
59 | echo "no texi2mdoc, skipping" | 60 | echo "no texi2mdoc, skipping" |
60 | fi | 61 | fi |