# HG changeset patch # User Matthew Wild # Date 1679050879 0 # Node ID 61085789b12b704a8b8ed3cda6cb9c2b3f6b382c # Parent 808fd9673669a7829185056fc984611bada2cc16 squish: Fix generation of custom shebang diff -r 808fd9673669 -r 61085789b12b squish.lua --- a/squish.lua Fri Mar 17 11:00:22 2023 +0000 +++ b/squish.lua Fri Mar 17 11:01:19 2023 +0000 @@ -237,7 +237,7 @@ if opts.executable == true then f:write("#!/usr/bin/env lua\n"); else - f:write(opts.executable, "\n"); + f:write("#!"..opts.executable, "\n"); end end