191 else |
191 else |
192 -- Strip base_path from resolved path |
192 -- Strip base_path from resolved path |
193 module.path = module.path:gsub("^"..base_path:gsub("%p", "%%%1"), ""); |
193 module.path = module.path:gsub("^"..base_path:gsub("%p", "%%%1"), ""); |
194 end |
194 end |
195 end |
195 end |
|
196 end |
|
197 end |
|
198 |
|
199 for _, module in ipairs(modules) do |
|
200 if not module.path then |
|
201 print_err("Exiting due to missing modules without a path"); |
|
202 os.exit(1); |
196 end |
203 end |
197 end |
204 end |
198 |
205 |
199 if opts.list_files then |
206 if opts.list_files then |
200 local function write(text) |
207 local function write(text) |