aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-01 21:20:46 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-01 21:20:46 +0000
commit160d559b81fd12c96f3b5e3a8a497208089508ad (patch)
treed61f4ca37bbf1cb31ccdbef8e8a6e5f50cc08717 /toolchain
parent69f8592407635cc7b36aebac692e24a02b046aab (diff)
downloadbuildroot-160d559b81fd12c96f3b5e3a8a497208089508ad.tar.gz
buildroot-160d559b81fd12c96f3b5e3a8a497208089508ad.tar.bz2
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 0e88d69672..98a9d6f927 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'
#
#############################################################