# HG changeset patch # User Matthew Wild # Date 1248697285 -3600 # Node ID 81265a8c6745e487e6171f2f9dfeddf94df725da # Parent 728f8579abc50eed78e3093a069fcc49477d9edf Obey --no-recursion option diff -r 728f8579abc5 -r 81265a8c6745 make_squishy --- 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