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

Riley Williams (rhw@BigFoot.Com)
Sun, 4 Apr 1999 04:29:36 +0100 (GMT)


Hi all.

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

>> ...or just:

>> echo *.o >$$MODLIB/.allmods; \

> Doesn't work, it needs to be one file per line.

printf '%s\n' *.o >$$MODLIB/.allmods; \

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
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/