diff options
author | Solomon Choina | 2018-01-17 15:21:01 -0500 |
---|---|---|
committer | Solomon Choina | 2018-01-17 15:21:01 -0500 |
commit | 1dc34930266d3252727c3b98fb49d8f7eeb901d3 (patch) | |
tree | 565e6e61e962778ac8ae1c2cd1f8ab6f69304d0f /luacheck | |
parent | 7a3f2a51538d12ff1476485f2a35d7cd62029ca9 (diff) | |
download | aur-1dc34930266d3252727c3b98fb49d8f7eeb901d3.tar.gz |
update pkgver and adding a the fixed bin
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' "$@" |