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 "$@"