Skip to contentSkip to conversation

uml: force using /bin/bash for building

PATCH In review [email protected] 1 participant 1 message Oct 12, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 2/10 uml: force using /bin/bash for building

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.

---

 linux-2.6.9-current-paolo/arch/um/Makefile |    2 ++
 1 files changed, 2 insertions(+)
arch/um/Makefile renamed from arch/um/Makefile~uml-force-bash +2 -0
diff -puN arch/um/Makefile~uml-force-bash arch/um/Makefile
@@ -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

_

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel