Commit f0599b20 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug caused by one letter files (see

parent d57c2b0e
......@@ -41,7 +41,8 @@ for f=1:length(dd)
flist = { flist{:} r{:} };
% Filter out files without m extension.
if isequal(dd(f).name(end-1:end),'.m')
[make, my, ext] = fileparts(dd(f).name);
if isequal(ext, '.m')
flist{length(flist)+1} = [basedir filesep dd(f).name];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment