Dothem: fix dotest/nodoc conditional
The test for nodoc was wrong and also missing from jch branch. When dotest is not set, make was run twice. By running make with just $dotest, we can build either (implicit) all or test.
Junio C Hamano committed
Apr 2, 2009 at 10:18 UTC
411b5ebe488162e45606a10b7371c75e6e55e443
1 file changed
+2
-3
Dothem
+2
-3
index 9425b68c7d..c503a3767d 100755
--- a/Dothem
+++ b/Dothem
@@ -91,14 +91,13 @@ do
;;
esac &&
- Meta/Make $M -- $J all &&
Meta/Make $M -- $J $dotest &&
case "$branch" in
jch)
- Meta/Make $M -- doc install-doc
+ test -n "$nodoc" || Meta/Make $M -- doc install-doc
;;
master | maint | next )
- test -z "$nodoc" || Meta/Make $M -- doc
+ test -n "$nodoc" || Meta/Make $M -- doc
;;
*)
: ;;