dependencies: simplistic SHELL = bash check
This commit is contained in:
parent
69f8592407
commit
160d559b81
@ -246,6 +246,18 @@ if ! which awk > /dev/null ; then
|
||||
fi;
|
||||
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'
|
||||
|
Loading…
Reference in New Issue
Block a user