 Parent Directory
|
 Parent Directory
|  Revision Log
|
 Revision Log
|  Revision Graph
|
 Revision Graph
|  Patch
 Patch
--- MITgcm_contrib/gmaze_pv/pv_checkpath.m	2006/07/10 15:09:01	1.3
+++ MITgcm_contrib/gmaze_pv/pv_checkpath.m	2007/09/19 14:45:59	1.4
@@ -15,13 +15,14 @@
 
 
 % Determine the directory name where the package is installed:
-w       = which('volbet2iso');
-packdir = w(1:length(w)-12);
+fct_to_find = 'pv_checkpath';
+w       = which(fct_to_find);
+packdir = w(1:length(w)-(length(fct_to_find)+2));
 
 
 % Try to found needed subdirectories:
 
-subdir     = struct('name',{'subfct','test','visu'});
+subdir     = struct('name',{'subfct','test','visu','subduc'});
 
 for id = 1 : size(subdir(:),1)
   subdirname = subdir(id).name;
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |