[patch 02/10] uml: force using /bin/bash for building

From: blaisorblade_spam
Date: Mon Oct 11 2004 - 19:45:54 EST



This forces make to use bash rather than whatever /bin/sh is linked to.
Without this, since there are some bash extensions used in the build and when
/bin/sh isn't bash, then the build fails without a clear error message.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@xxxxxxxx>
---

linux-2.6.9-current-paolo/arch/um/Makefile | 2 ++
1 files changed, 2 insertions(+)

diff -puN arch/um/Makefile~uml-force-bash arch/um/Makefile
--- linux-2.6.9-current/arch/um/Makefile~uml-force-bash 2004-10-12 01:06:02.860053432 +0200
+++ linux-2.6.9-current-paolo/arch/um/Makefile 2004-10-12 01:06:02.863052976 +0200
@@ -5,6 +5,8 @@

ARCH_DIR = arch/um
OS := $(shell uname -s)
+#We require it or things break.
+SHELL := /bin/bash

# Recalculate MODLIB to reflect the EXTRAVERSION changes (via KERNELRELEASE)
# The way the toplevel Makefile is written EXTRAVERSION is not supposed
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/