[PATCH] use $(CONFIG_SHELL instead of . in Makefile

Szabolcs Berecz (szabi@mplayerhq.hu)
Wed, 5 Jun 2002 21:07:18 +0200 (CEST)


sh ignores parameters when using . , so we should use $(CONFIG_SHELL)
instead.

patch is against 2.5.20

Bye,
Szabi

--- linux-2.5.20/Makefile.orig Wed Jun 5 16:34:22 2002
+++ linux-2.5.20/Makefile Wed Jun 5 16:50:18 2002
@@ -231,7 +231,7 @@

include/linux/version.h: Makefile
@echo Generating $@
- @. scripts/mkversion_h $@ $(KERNELRELEASE) $(VERSION) $(PATCHLEVEL) $(SUBLEVEL)
+ @$(CONFIG_SHELL) scripts/mkversion_h $@ $(KERNELRELEASE) $(VERSION) $(PATCHLEVEL) $(SUBLEVEL)

# Helpers built in scripts/
# ---------------------------------------------------------------------------

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