[Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
jacmet at uclibc.org
jacmet at uclibc.org
Thu Jan 1 21:20:47 UTC 2009
Author: jacmet
Date: 2009-01-01 21:20:46 +0000 (Thu, 01 Jan 2009)
New Revision: 24642
Log:
dependencies: simplistic SHELL = bash check
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2009-01-01 21:20:35 UTC (rev 24641)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2009-01-01 21:20:46 UTC (rev 24642)
@@ -248,6 +248,18 @@
#############################################################
#
+# 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'
#
#############################################################
More information about the buildroot
mailing list