Ignore:
Timestamp:
05/01/12 07:28:25 (13 years ago)
Author:
Mathieu Morlighem
Message:

Changing ISSM_TIER to ISSM_DIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/utils/Shell/issmdir.m

    r11453 r12155  
    11function ISSM_DIR=issmdir()
    2 %ISSMDIR - Get ISSM_DIR environment variable contents.
     2%ISSMDIR - Get ISSM_DIR environment variable
    33%
    44%   Usage:
     
    99else
    1010        ISSM_DIR =getenv('ISSM_DIR_WIN');
     11        if strcmpi(ISSM_DIR(end),'/') | strcmpi(ISSM_DIR(end),'\'),
     12                ISSM_DIR = ISSM_DIR(1:end-1); %shave off the last '/'
     13        end
    1114end
    1215
Note: See TracChangeset for help on using the changeset viewer.