comment region with -d for now, will check for better portability soon.
authorng0 <ng0@n0.is>
Sat, 16 Nov 2019 23:16:29 +0000 (23:16 +0000)
committerng0 <ng0@n0.is>
Sat, 16 Nov 2019 23:16:29 +0000 (23:16 +0000)
bootstrap

index dc8f563d9fc593cfdd8df036f145eccbbabff1fa..4fe38116184ee796bd5a70bb0c31a041f4665c35 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -31,36 +31,36 @@ else
     echo "yapf not detected, please install yapf if you plan on contributing python code"
 fi
 
-if test $1 = "-d"; then
-    if existence texi2mdoc; then
-        echo "texi2mdoc: exists, pass --enable-texi2mdoc-generation to configure"
-    else
-        dir=$(dirname "$(readlink -f -- "$0")")
-        mkdir -p $dir/contrib/vendored
-        cd contrib/vendored
-        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
-            echo "skipping texi2mdoc build, no ftp or curl or wget or fetch found"
-        fi
-        if test -e texi2mdoc-0.1.2.tgz; then
-            tar xzf texi2mdoc-0.1.2.tgz
-            cd texi2mdoc-0.1.2
-            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
-    fi
-fi
+if test $1 = "-d"; then
+    if existence texi2mdoc; then
+        echo "texi2mdoc: exists, pass --enable-texi2mdoc-generation to configure"
+    else
+        dir=$(dirname "$(readlink -f -- "$0")")
+        mkdir -p $dir/contrib/vendored
+        cd contrib/vendored
+        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
+            echo "skipping texi2mdoc build, no ftp or curl or wget or fetch found"
+        fi
+        if test -e texi2mdoc-0.1.2.tgz; then
+            tar xzf texi2mdoc-0.1.2.tgz
+            cd texi2mdoc-0.1.2
+            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
+    fi
+fi
 
 
 echo "checking for libtoolize / libtool... "