]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Dothem: detect lack of asciidoc
authorJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2009 17:05:17 +0000 (10:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2009 17:05:17 +0000 (10:05 -0700)
Dothem

diff --git a/Dothem b/Dothem
index 1a987468d7480e79d4a6c0ba9940116f5ed06768..8c59d404f8733b8f5afb031151922690ed8ebd1b 100755 (executable)
--- 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