Index: /issm/trunk-jpl/src/m/modules/CoordTransform.m
===================================================================
--- /issm/trunk-jpl/src/m/modules/CoordTransform.m	(revision 27162)
+++ /issm/trunk-jpl/src/m/modules/CoordTransform.m	(revision 27163)
@@ -34,6 +34,7 @@
 % the 'PROJ_LIB' environment variable so that the PROJ binary can find the 
 % assets it needs
-if isdir(what('share/proj').path)
-	setenv('PROJ_LIB', what('share/proj').path);
+whatproj=what('share/proj');
+if ~isempty(whatproj) && isdir(whatproj.path)
+	setenv('PROJ_LIB', whatproj.path);
 end
 
