Mon, 27 Jul 2009 13:21:25 +0100
Obey --no-recursion option
make_squishy | file | annotate | diff | comparison | revisions |
--- a/make_squishy Mon Jul 27 13:19:17 2009 +0100 +++ b/make_squishy Mon Jul 27 13:21:25 2009 +0100 @@ -89,7 +89,8 @@ if not filename then print_info("Couldn't resolve "..module.." (required in "..scanfile..")"); end - if not scanned_files[filename] then + if opts.recursion ~= false and not scanned_files[filename] then + scanned_files[filename] = true; table.insert(files, filename); end if filename then