This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: update_web_docs_svn (was: update_version_svn)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 13:45:57 +0000 (UTC)
- Subject: Re: update_web_docs_svn (was: update_version_svn)
- References: <200902250510.34957.okellogg@users.sourceforge.net> <1235499411.11347.129.camel@localhost> <200902242038.19848.okellogg@users.sourceforge.net> <Pine.LNX.4.64.0902241944420.28488@digraph.polyomino.org.uk> <alpine.LSU.1.99.0904042030120.11029@acrux.dbai.tuwien.ac.at> <Pine.LNX.4.64.0904080037430.8449@digraph.polyomino.org.uk> <alpine.LSU.1.99.0904080418520.26436@acrux.dbai.tuwien.ac.at> <alpine.LSU.1.99.0904221445220.16884@acrux.dbai.tuwien.ac.at>
On Wed, 22 Apr 2009, Gerald Pfeifer wrote:
> On Wed, 8 Apr 2009, Gerald Pfeifer wrote:
> >>> * update_web_docs_svn: Run this script under plain /bin/sh
> >>> as opposed to /bin/sh -x.
> > Thanks for having a look, Joseph! I applied my change and also updated
> > the instance of this script on gcc.gnu.org. Let's see wether the next
> > run in some 22 hours will again be able to push through a message to the
> > gccadmin list. If not, let me know and I'll have another look what we
> > may be able to cut.
>
> It turns out that this is still not sufficient, at least those daily
> mails from cron still do not make it to the gccadmin list.
>
> How about the patch below? It brings down the output of this script
> from 546197 byte to 317694 byte in runs I performed on gcc.gnu.org.
I think this is OK. texi2dvi and texi2pdf should generally give the same
messages from TeX, and any problems causing TeX to exit with an error will
cause the script to exit after texi2pdf not after texi2dvi because of how
set -e interacts with &&, so the errors in such a case will still be
visible.
--
Joseph S. Myers
joseph@codesourcery.com