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]
Other format: [Raw text]

Re: [PATCH] Fix broken 'make install-po'. Fixes PR other/7727


On Aug 29, 2002, Josh Martin <Josh.Martin@abq.sc.philips.com> wrote:

> - for cat in $(CATALOGS); do \
> + for cat in $(CATALOGS) ..; do if [ x$$cat != x.. ]; then\

The common idiom used to work around lossages due to Make macro
expansion to nothing in the for list is:

    list='$(CATALOGS)'; for cat in $$list; do \

Patch pre-approved with this change.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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