diff -r 347ac1733354 -r 2322f7932064 squish.lua --- a/squish.lua Fri Jul 13 17:14:22 2012 +0100 +++ b/squish.lua Tue Nov 27 08:25:18 2012 -0800 @@ -236,6 +236,7 @@ end end if data then + data = data:gsub("^#[^\r\n]*\r?\n", ""); -- Remove shebang if any (or we can't concat) if not opts.debug then f:write("package.preload['", modulename, "'] = (function (...)\n"); f:write(data);