Changeset 27163


Ignore:
Timestamp:
07/27/22 13:27:45 (3 years ago)
Author:
jdquinn
Message:

BUG: Return from what function needs to be tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/modules/CoordTransform.m

    r27158 r27163  
    3434% the 'PROJ_LIB' environment variable so that the PROJ binary can find the
    3535% assets it needs
    36 if isdir(what('share/proj').path)
    37         setenv('PROJ_LIB', what('share/proj').path);
     36whatproj=what('share/proj');
     37if ~isempty(whatproj) && isdir(whatproj.path)
     38        setenv('PROJ_LIB', whatproj.path);
    3839end
    3940
Note: See TracChangeset for help on using the changeset viewer.