squish.lua: Move opening of output file until after resolving modules

Remove shebangs from modules, if any (thanks Markus Stenberg)

Remove uses of getfenv to work around Lua/LuaJIT inconsistency, and as a step towards 5.2 compatibility (thanks mva, Zash)

make_squishy: Match require calls at the start of a line (thanks R D)

(0) -30 -10 -4 +4 +10 tip

mercurial