~mna/llrocks

d70dc9848e296b1acbe511ae137706011d3b1cca — Martin Angers 2 years ago e2f053e master
Use only locally installed modules
1 files changed, 2 insertions(+), 2 deletions(-)

M llrocks
M llrocks => llrocks +2 -2
@@ 16,8 16,8 @@ if [[ ! -z ${!verspecific:-} ]]; then
	luacpath=LUA_CPATH_${luaver__}
fi

eval "$luapath"="'${modpath}/share/lua/${luaver}/?.lua;${modpath}/share/lua/${luaver}/?/init.lua;${!luapath:-;}'"
eval "$luacpath"="'${modpath}/lib/lua/${luaver}/?.so;${modpath}/lib64/lua/${luaver}/?.so;${!luacpath:-;}'"
eval "$luapath"="'?.lua;?/init.lua;${modpath}/share/lua/${luaver}/?.lua;${modpath}/share/lua/${luaver}/?/init.lua;'"
eval "$luacpath"="'?.so;${modpath}/lib/lua/${luaver}/?.so;${modpath}/lib64/lua/${luaver}/?.so;'"

function __luarun {
	exec lua "$@"