This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc_update: watch empty files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]