Index: ../trunk-jpl/packagers/macosx/install.sh
===================================================================
--- ../trunk-jpl/packagers/macosx/install.sh	(revision 18424)
+++ ../trunk-jpl/packagers/macosx/install.sh	(revision 18425)
@@ -22,6 +22,7 @@
    exit 1;
 fi
 # }}}
+exit 0
 
 #List of external pakages to be installed and their installation scripts
 EXTERNALPACKAGES="autotools install.sh                
Index: ../trunk-jpl/packagers/macosx/package.sh
===================================================================
--- ../trunk-jpl/packagers/macosx/package.sh	(revision 18424)
+++ ../trunk-jpl/packagers/macosx/package.sh	(revision 18425)
@@ -1,9 +1,9 @@
-#/bin/bash
+#!/bin/bash
 
 #Check that test101 runs
 cd $ISSM_DIR/test/NightlyRun
-delete matlab.log
-matlab -nojvm -nosplash -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log
+rm matlab.log
+$MATLAB_DIR/bin/matlab -nojvm -nosplash -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log
 
 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then
 	echo "test101 FAILED"
