This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_update: watch empty files
- To: Alfred Minarik <alfred dot minarik at lion dot cc>
- Subject: Re: gcc_update: watch empty files
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Mar 2001 15:32:19 -0300
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <3AB8A597.969D3C8E@lion.cc>
On Mar 21, 2001, Alfred Minarik <alfred.minarik@lion.cc> wrote:
> So I propose this for trunk and branch.
> The distributed .brik file holds all the information we need.
> contrib/gcc_update should use it.
Part of me says it should be a separate script, since
contrib/gcc_update is mainly used for CVS. But I'd like to take a
second opinion.
> + if [ ! -e $f ]; then
Use test -f; test -e is not portable.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me