Re: Linux Makefile uses 'ls', causes problems with color-ls (PATCH)

Richard B. Johnson (root@chaos.analogic.com)
Wed, 31 Mar 1999 08:33:29 -0500 (EST)


On Wed, 31 Mar 1999, Trevor Johnson wrote:

> > - ls *.o > $$MODLIB/.allmods; \
> > + rm -f $$MODLIB/.allmods; \
> > + for x in *.o; do echo $$x>>$$MODLIB/.allmods; done; \
>
> ...or just:
>
> echo *.o >$$MODLIB/.allmods; \

Well I tried that but there is a problem if there are no '.o' files
in the directory (you get *.o echoed).

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.4 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/