Changeset 3603


Ignore:
Timestamp:
04/22/10 10:42:04 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added MATLAB_VERSION change in environment.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/matlab/install.sh

    r3599 r3603  
    99#symlink matlab to root matlab
    1010ln -s /usr/local/pkgs/matlab-$MATLAB_VERSION/ install
     11
     12#initialize MATLAB_VERSION in etc/environment_variables
     13cat $ISSM_DIR/etc/environment_variables.sh | sed -e "/MATLAB_VERSION/d" | sed "/^MATLAB_DIR.*$/a\MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_DIR/etc/environment_variables.sh.bak
     14mv $ISSM_DIR/etc/environment_variables.sh.bak $ISSM_DIR/etc/environment_variables.sh
     15cat $ISSM_DIR/etc/environment_variables.csh | sed -e "/MATLAB_VERSION/d" | sed "/^set MATLAB_DIR.*$/a\set MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_DIR/etc/environment_variables.csh.bak
     16mv $ISSM_DIR/etc/environment_variables.csh.bak $ISSM_DIR/etc/environment_variables.csh
Note: See TracChangeset for help on using the changeset viewer.