comparison scripts/pkg/private/generate_lookfor_cache.m @ 16403:1de4ec2a856d

Matlab compatibility for strsplit() * scripts/strings/strsplit.m: Matlab compatible version. * NEWS: Mention break in backward compatibility. * scripts/deprecated/javafields.m: Modify call to strsplit(). * scripts/deprecated/javamethods.m: ditto * scripts/general/fieldnames.m: ditto * scripts/general/int2str.m: ditto * scripts/general/methods.m: ditto * scripts/general/num2str.m: ditto * scripts/help/gen_doc_cache.m: ditto * scripts/help/help.m: ditto * scripts/help/lookfor.m: ditto * scripts/io/strread.m: ditto * scripts/java/javaclasspath.m: ditto * scripts/miscellaneous/compare_versions.m: ditto * scripts/miscellaneous/computer.m: ditto * scripts/miscellaneous/fact.m: ditto * scripts/miscellaneous/tar.m: ditto * scripts/miscellaneous/unpack.m: ditto * scripts/miscellaneous/what.m: ditto * scripts/miscellaneous/zip.m: ditto * scripts/pkg/private/configure_make.m: ditto * scripts/pkg/private/fix_depends.m: ditto * scripts/pkg/private/generate_lookfor_cache.m: ditto * scripts/pkg/private/list_forge_packages.m: ditto * scripts/pkg/private/unload_packages.m: ditto * scripts/pkg/private/write_index.m: ditto * scripts/plot/private/__file_filter__.m: ditto * scripts/plot/private/__fltk_file_filter__.m: ditto * scripts/plot/private/__go_draw_axes__.m: ditto * scripts/plot/private/__next_line_style__.m: ditto * scripts/strings/untabify.m: ditto * scripts/testfun/rundemos.m: ditto * scripts/testfun/runtests.m: ditto
author Ben Abbott <bpabbott@mac.com>
date Sun, 31 Mar 2013 19:19:04 -0400
parents 05b59be209ed
children b7667fcb9fbc
comparison
equal deleted inserted replaced
16402:7fa90eb41240 16403:1de4ec2a856d
21 ## @deftypefn {Function File} {} generate_lookfor_cache (@var{desc}) 21 ## @deftypefn {Function File} {} generate_lookfor_cache (@var{desc})
22 ## Undocumented internal function. 22 ## Undocumented internal function.
23 ## @end deftypefn 23 ## @end deftypefn
24 24
25 function generate_lookfor_cache (desc) 25 function generate_lookfor_cache (desc)
26 dirs = strtrim (strsplit (genpath (desc.dir), pathsep ())); 26 dirs = strtrim (strsplit (genpath (desc.dir), pathsep (), false));
27 for i = 1 : length (dirs) 27 for i = 1 : length (dirs)
28 gen_doc_cache (fullfile (dirs{i}, "doc-cache"), dirs{i}); 28 gen_doc_cache (fullfile (dirs{i}, "doc-cache"), dirs{i});
29 endfor 29 endfor
30 endfunction 30 endfunction
31 31