diff options
Diffstat (limited to 'luacheck')
-rwxr-xr-x | luacheck | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/luacheck b/luacheck new file mode 100755 index 000000000000..ecc338ee2589 --- /dev/null +++ b/luacheck @@ -0,0 +1,3 @@ +#!/bin/sh + +exec '/usr/bin/lua5.1' -e 'package.path="/usr/share/lua/5.1/?/init.lua;"..package.path; package.cpath="/usr/lib/lua/5.1/?.so;"..package.cpath' -e 'local k,l,_=pcall(require,"luarocks.loader") _=k and l.add_context("luacheck","scm-1")' '/usr/lib/luarocks/rocks-5.1/luacheck/scm-1/bin/luacheck' "$@" |