Skip to content

Commit

Permalink
Fix shebang, use "/usr/bin/env lua"
Browse files Browse the repository at this point in the history
Lua executable is not /usr/bin/lua on every system, it's better to find
it on PATH.
  • Loading branch information
jirutka authored and mihacooper committed Mar 21, 2017
1 parent 0997682 commit b373f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/luacc.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/lua
#!/usr/bin/env lua
---------------------------------------------------------
----------------Auto generated code block----------------
---------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/luacc.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/lua
#!/usr/bin/env lua

package.path = 'argparse/src/?.lua;templates/lib/resty/?.lua;' .. package.path

Expand Down

0 comments on commit b373f51

Please sign in to comment.