summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-16 19:50:03 +0000
committerng0 <ng0@n0.is>2019-11-16 19:50:03 +0000
commitafa6e54f65e1a7470371fb964c0d3adbd1956b5b (patch)
tree6d97e2a6ed6f92750ec288118e51f6e8a341bf8f /bootstrap
parentbe6c14f2b2b880d72cd77538e98a067241d90f55 (diff)
bootstrap: swap around downloaders, add message.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index 07043aa1c..dc8f563d9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -38,12 +38,12 @@ if test $1 = "-d"; then
dir=$(dirname "$(readlink -f -- "$0")")
mkdir -p $dir/contrib/vendored
cd contrib/vendored
- if existence ftp; then
- ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
- elif existence curl; then
+ if existence curl; then
curl --output texi2mdoc-0.1.2.tgz https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
elif existence wget; then
wget https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
+ elif existence ftp; then
+ ftp https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
elif existence fetch; then
fetch https://mandoc.bsd.lv/texi2mdoc/snapshots/texi2mdoc-0.1.2.tgz
else
@@ -55,6 +55,7 @@ if test $1 = "-d"; then
dir=$(dirname "$(readlink -f -- "$0")")
make
echo "please prepend or append $dir/contrib/vendored/texi2mdoc/ to your PATH before running configure"
+ echo "and pass --enable-texi2mdoc-generation to configure"
else
echo "no texi2mdoc, skipping"
fi