summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-01 21:20:46 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-01 21:20:46 +0000
commit160d559b81fd12c96f3b5e3a8a497208089508ad (patch)
treed61f4ca37bbf1cb31ccdbef8e8a6e5f50cc08717 /toolchain
parent69f8592407635cc7b36aebac692e24a02b046aab (diff)
downloadbuildroot-novena-160d559b81fd12c96f3b5e3a8a497208089508ad.tar.gz
buildroot-novena-160d559b81fd12c96f3b5e3a8a497208089508ad.zip
dependencies: simplistic SHELL = bash check
Diffstat (limited to 'toolchain')
-rwxr-xr-xtoolchain/dependencies/dependencies.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh
index 0e88d6967..98a9d6f92 100755
--- a/toolchain/dependencies/dependencies.sh
+++ b/toolchain/dependencies/dependencies.sh
@@ -248,6 +248,18 @@ echo "awk installed: Ok"
#############################################################
#
+# check build system 'bash'
+#
+#############################################################
+if ! $SHELL --version 2>&1 | grep -q '^GNU bash'; then
+ echo "bash installed: FALSE"
+ /bin/echo -e "\n\nYou must install 'bash' on your build machine\n";
+ exit 1;
+fi;
+echo "bash installed: Ok"
+
+#############################################################
+#
# check build system 'bison'
#
#############################################################