]> granicus.if.org Git - python/commitdiff
Make sure errors get propogated.
authorFred Drake <fdrake@acm.org>
Tue, 16 Feb 1999 20:05:43 +0000 (20:05 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 16 Feb 1999 20:05:43 +0000 (20:05 +0000)
Doc/tools/mkhtml.sh

index adeaec82ed57c8a6043cc0eec7cdd09d06ccb84b..940d934160aa997b625373cc4ef2b3f12afc0666 100755 (executable)
@@ -2,7 +2,8 @@
 #
 # Drive HTML generation for a Python manual.
 #
-# This is probably *not* useful outside of the standard Python documentation.
+# This is probably *not* useful outside of the standard Python documentation,
+# but suggestions are welcome and should be sent to <python-docs@python.org>.
 #
 # The first arg is required and is the designation for which manual to build;
 # api, ext, lib, ref, or tut.  All other args are passed on to latex2html.
@@ -28,8 +29,8 @@ latex2html \
  -address '<hr>Send comments to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' \
  -dir $part \
  ${1:+$@} \
- $srcdir/$part/$part.tex
+ $srcdir/$part/$part.tex || exit $?
 
-echo '(cd '$part'; '$srcdir'/tools/node2label.pl *.html)'
+echo "(cd $part; $srcdir/tools/node2label.pl \*.html)"
 cd $part
-$srcdir/tools/node2label.pl *.html
+$srcdir/tools/node2label.pl *.html || exit $?