squish.lua

changeset 67
2fc48318b8bb
parent 58
17121881cbf7
child 71
e27ab4492cdd
equal deleted inserted replaced
66:28feb008ca2a 67:2fc48318b8bb
229 if opts.debug then 229 if opts.debug then
230 f:write(string.format("package.preload[%q] = ___adjust_chunk(package.preload[%q], %q);\n\n", 230 f:write(string.format("package.preload[%q] = ___adjust_chunk(package.preload[%q], %q);\n\n",
231 modulename, modulename, "@"..path)); 231 modulename, modulename, "@"..path));
232 end 232 end
233 else 233 else
234 print_err("Couldn't pack module '"..modulename.."': "..err); 234 print_err("Couldn't pack module '"..modulename.."': "..(err or "unknown error... path to module file correct?"));
235 os.exit(1); 235 os.exit(1);
236 end 236 end
237 end 237 end
238 238
239 if #resources > 0 then 239 if #resources > 0 then

mercurial