Ignore:
Timestamp:
07/02/20 10:53:58 (5 years ago)
Author:
jdquinn
Message:

CHG: Fixes for Linux solid earth binaries; applied similar changes to other packaging/testing scripts; clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/coordsystems/gmtmask.m

    r22821 r25196  
    3636
    3737        %Avoid bypassing of the ld library path by Matlab (:()
     38        %
     39        % TODO: Do we really need this (we can/already set it in etc/environment.sh)?
    3840        if ismac,
    3941                dyld_library_path_old=getenv('DYLD_LIBRARY_PATH');
     
    4244
    4345        %Find path to gmt, list all possible known paths to gmt (you may need to add yours to the list)
    44    paths = {[issmdir() '/bin/gmt'],[issmdir() '/externalpackages/gmt/install/bin/gmt'],'/Applications/GMT-5.4.3.app/Contents/Resources/bin/gmt'};
     46   gmtpaths = {[issmdir '/bin/gmt'],[issmdir '/externalpackages/gmt/install/bin/gmt'],'/Applications/GMT-5.4.3.app/Contents/Resources/bin/gmt'};
    4547   gmtpath = '';
    46    for i=paths
     48   for i=gmtpaths
    4749      if exist(i{1},'file'),
    4850         gmtpath = i{1};
     
    5153   end
    5254   if isempty(gmtpath),
    53       error('gmt not found, make sure it is properly installed, or add its path to this file (line 44)');
     55      error('gmt not found! Make sure it is properly installed, or add its path to this file.');
    5456   end
    5557   
Note: See TracChangeset for help on using the changeset viewer.