diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-16 20:05:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-16 20:05:43 (GMT) |
commit | f43ce00531bbafb1d2eaafd0fa128a1131822320 (patch) | |
tree | 8474ac3ad34f4d06041b048989d3d0339daa5efb /Doc/tools | |
parent | 5d856fcd0fc6534903b828b7c6221477603e87ce (diff) | |
download | cpython-f43ce00531bbafb1d2eaafd0fa128a1131822320.zip cpython-f43ce00531bbafb1d2eaafd0fa128a1131822320.tar.gz cpython-f43ce00531bbafb1d2eaafd0fa128a1131822320.tar.bz2 |
Make sure errors get propogated.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-x | Doc/tools/mkhtml.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/tools/mkhtml.sh b/Doc/tools/mkhtml.sh index adeaec8..940d934 100755 --- a/Doc/tools/mkhtml.sh +++ b/Doc/tools/mkhtml.sh @@ -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 $? |