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

From: Szabolcs Berecz (szabi@mplayerhq.hu)
Date: Wed Jun 05 2002 - 14:07:18 EST


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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:25 EST