diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-01 21:20:46 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-01 21:20:46 +0000 |
commit | 160d559b81fd12c96f3b5e3a8a497208089508ad (patch) | |
tree | d61f4ca37bbf1cb31ccdbef8e8a6e5f50cc08717 | |
parent | 69f8592407635cc7b36aebac692e24a02b046aab (diff) | |
download | buildroot-novena-160d559b81fd12c96f3b5e3a8a497208089508ad.tar.gz buildroot-novena-160d559b81fd12c96f3b5e3a8a497208089508ad.zip |
dependencies: simplistic SHELL = bash check
-rwxr-xr-x | toolchain/dependencies/dependencies.sh | 12 |
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' # ############################################################# |