From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 5 Feb 2015 16:57:39 +0000 (+0000)
Subject: include: set shell to "sh" for prereq tests
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5dadc89b3a043bb280a5eeb0c198a56dbff34ba7;p=openwrt%2Fstaging%2Fadrian.git

include: set shell to "sh" for prereq tests

Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install
so perform prereq tests with /bin/sh.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44275
---

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 4ddaa38ee0..306a6b3e38 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -10,6 +10,7 @@ include $(INCLUDE_DIR)/prereq.mk
 include $(INCLUDE_DIR)/host.mk
 include $(INCLUDE_DIR)/host-build.mk
 
+SHELL:=sh
 PKG_NAME:=Build dependency