Permalink
Browse files

BUG: Fix mocov_find_files.m to pass exclude_re recursively

  • Loading branch information...
1 parent 4ab5b2a commit 2c721d741604f106b4c1e163280982ffb02fe55b @scottclowe scottclowe committed Feb 26, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 MOcov/mocov_find_files.m
View
@@ -89,7 +89,7 @@
if ~isempty(regexp(fn,exclude_re,'once'));
continue;
elseif isdir(path_fn)
- res=find_files_recursively(path_fn,file_re,monitor);
+ res=find_files_recursively(path_fn,file_re,monitor,exclude_re);
elseif ~isempty(regexp(fn,file_re,'once'));
res={path_fn};
if ~isempty(monitor)
@@ -100,4 +100,4 @@
res_cell{k}=res;
end
- res=cat(1,res_cell{:});
+ res=cat(1,res_cell{:});

0 comments on commit 2c721d7

Please sign in to comment.