Index: /issm/trunk/externalpackages/matlab/install.sh
===================================================================
--- /issm/trunk/externalpackages/matlab/install.sh	(revision 8347)
+++ /issm/trunk/externalpackages/matlab/install.sh	(revision 8348)
@@ -1,20 +1,10 @@
 #!/bin/bash
-
-#Matlab version: used by Petsc to detect some weird behaviour starting at version 7.6/R2008a (all blas and lapack prototypes changed! damn them!)
-MATLAB_VERSION=R2008a
 
 #Erase symlink
 rm -rf install
 
-# MAC symlink matlab to root matlab
-#ln -s /Applications/MATLAB_R2008a/ install
-#export MATLAB_VERSION=R2008a
-# LINUX symlink matlab to root matlab
+#Select or create a new simlink
 ln -s /usr/local/pkgs/matlab-7.6/ install
-
-
-#initialize MATLAB_VERSION in etc/environment_variables
-#cat $ISSM_TIER/etc/environment_variables.sh | sed -e "/MATLAB_VERSION/d" | sed "/^MATLAB_DIR.*$/a\MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_TIER/etc/environment_variables.sh.bak
-#mv $ISSM_TIER/etc/environment_variables.sh.bak $ISSM_TIER/etc/environment_variables.sh
-#cat $ISSM_TIER/etc/environment_variables.csh | sed -e "/MATLAB_VERSION/d" | sed "/^set MATLAB_DIR.*$/a\set MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_TIER/etc/environment_variables.csh.bak
-#mv $ISSM_TIER/etc/environment_variables.csh.bak $ISSM_TIER/etc/environment_variables.csh
+#ln -s /usr/local/pkgs/matlab-7.8/ install
+#ln -s /Applications/MATLAB_R2009a.app/ install
+#ln -s /Applications/MATLAB_R2010a.app/ install
