Re: The /tmp and modules_install saga

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
07 Oct 1998 10:50:44 +0200


"Nicholas J. Leon" <nicholas@binary9.net> writes:

|> How about the following (please note that using my _exact_ implementation
|> would require fixing nls to put its modules into FS_MODULES and
|> NET_MISC_MODULES be folded into NET_MODULES -- unless we like having an
|> modules/nls and modules/net_misc directory).
|>
|> modules_install:
|> @(cd modules; \
|> MODLIB=$(INSTALL_MOD_PATH)/lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL);\
|> ALLMODS=`ls *.o`; \

You can use ALLMODES=`echo *.o` instead.

|> echo "Installing modules under $$MODLIB"; \
|> for d in `ls *_MODULES`; do \

Change that to
for d in *_MODULES; do \
to avoid the useless use of command substitution.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

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