fixed the MacPorts check
authorStefan Graupner <stefan.graupner@gmail.com>
Thu, 4 Nov 2010 08:22:05 +0000 (09:22 +0100)
committerStefan Graupner <stefan.graupner@gmail.com>
Thu, 4 Nov 2010 08:22:05 +0000 (09:22 +0100)
summon-arm-toolchain

index a5051ff6c7404a6e2cc1a8f13cf1c858ae81eaa8..3a94e7d6e8f78b95b5ded3d6bb746a1df81b7256 100755 (executable)
@@ -119,7 +119,7 @@ case "$(uname)" in
     echo "MacPorts not installed."
   else
     pc=`port installed ${DARWINDEPS} | wc -l | tr -d " "`
-    if [ ${pc} -lt $[{DARWINDEPSCOUNT}+1] ];
+    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.)"