Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/dependencies

Buildroot aldot at uclibc.org 1 participant 1 message Jun 5, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-06-05 00:38:07 -0700 (Tue, 05 Jun 2007) New Revision: 18745

Log:
- fix typo in version check

Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh

Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================

buildroot/toolchain/dependencies/dependencies.sh +1 -1
@@ -137,7 +137,7 @@
 fi;
 MAKE_MAJOR=$(echo $MAKE_VERSION | $XSED -e "s/\..*//g")
 MAKE_MINOR=$(echo $MAKE_VERSION | $XSED -e "s/^$MAKE_MAJOR\.//g" -e "s/\..*//g" -e "s/[a-zA-Z].*//g")
-if [ $MAKE_MAJOR -lt 3 -o $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 8 ] ; then
+if [ $MAKE_MAJOR -lt 3 ] || [ $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 80 ] ; then
 	echo "You have make '$MAKE_VERSION' installed.  GNU make >=3.80 is required"
 	exit 1;
 fi;