JAL-3247 nogradle option on this mac build/install helper script
authorBen Soares <bsoares@dundee.ac.uk>
Mon, 13 May 2019 14:51:15 +0000 (15:51 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Mon, 13 May 2019 14:51:15 +0000 (15:51 +0100)
utils/dev_macos_install.sh

index c4cd94c..5eadf0d 100755 (executable)
@@ -23,8 +23,12 @@ if [ $? = 0 ]; then
     exit 1
   fi
   echo "Mounting '$DMG' at /Volumes"
+  N=0
   while [ \! -e "/Volumes/$INSTALLERVOL/$APP" ]; do
-    echo -n "."
+    if [ $(( N%1000 )) = 0 ]; then
+      echo -n "."
+    fi
+    N=$(( N+1 ))
   done
   echo ""
 fi