FIX failure due to set -e when all dependencies are installed
[summon-arm-toolchain.git] / summon-arm-toolchain
index e4979b135998855e8623def6a1cc76cc1757e70e..eb729453ca7ec385bd42f948ad20ac2d82a2f822 100755 (executable)
@@ -44,7 +44,7 @@ else
        GCCRELEASE=4.6-2011.07
        GCCVERSION=${GCCRELEASE}
        GCC=gcc-linaro-${GCCVERSION}
-       GCCURL=http://launchpad.net/gcc-linaro/4.5/${GCCRELEASE}/+download/${GCC}.tar.bz2
+       GCCURL=http://launchpad.net/gcc-linaro/4.6/${GCCRELEASE}/+download/${GCC}.tar.bz2
 fi
 
 BINUTILS=binutils-2.21
@@ -123,7 +123,7 @@ case "$(uname)" in
   if ! which brew > /dev/null; then
     echo "homebrew not installed."
   else
-    brew install ${DARWINDEPS} | grep -v '^Warning: Formula already installed: '
+      brew install ${DARWINDEPS} | (grep -v '^Warning: Formula already installed: ' || true)
   fi
 
   GCCFLAGS="${GCCFLAGS} \