From 849446674554eedc46f6b9205b191bc9a71d4b18 Mon Sep 17 00:00:00 2001 From: Stefan Graupner Date: Thu, 4 Nov 2010 09:20:26 +0100 Subject: [PATCH] fixed the MacPorts check --- summon-arm-toolchain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/summon-arm-toolchain b/summon-arm-toolchain index c09c703..a5051ff 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -27,7 +27,7 @@ SUDO='sudo' # Set to 1 to be quieter while running QUIET=0 # Set to 1 to use linaro gcc instead of the FSF gcc -USE_LINARO=0 +USE_LINARO=1 # Set to 1 to build libstm32 provided by ST LIBSTM32_EN=0 # Set to 1 to build libopenstm32 an open source library for stm32 @@ -119,7 +119,7 @@ case "$(uname)" in echo "MacPorts not installed." else pc=`port installed ${DARWINDEPS} | wc -l | tr -d " "` - if [ ${pc} -lt ${DARWINDEPSCOUNT} ]; + if [ ${pc} -lt $[{DARWINDEPSCOUNT}+1] ]; then echo "Something is missing, do you want to install everything needed?" echo "(You need super user rights to do this.)" -- 2.25.1