summarylogtreecommitdiffstats
path: root/luacheck
blob: 43cf02f8aa06acfb4d3ec79eea449d2c588d3acd (plain)
1
2
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/share/lua/5.1/luacheck/bin/luacheck' "$@"