Dothem: detect lack of asciidoc
Junio C Hamano committed
Jul 6, 2009 at 10:05 UTC
5c3a7a451f977e00f5a831fdccf5c58234b1ce27
1 file changed
+3
Dothem
+3
index 1a987468d7..8c59d404f8 100755
--- a/Dothem
+++ b/Dothem
@@ -35,6 +35,9 @@ while case "$1" in
do
shift
done
+
+sh -c 'asciidoc --version >/dev/null 2>&1' || nodoc=y
+
test -f /bin/dash || with_dash=
if test -z "$BUILDBASE"
then