Merge branch 'main' into VorTechnix

This commit is contained in:
VorTechnix 2022-05-24 18:47:41 -07:00
commit 6e3252b471

View file

@ -31,12 +31,13 @@ check_command luarocks;
luarocks_root="${PWD}/.luarocks"; luarocks_root="${PWD}/.luarocks";
# Setup the lua module path # Setup the lua module path
# eval "$(luarocks --tree "${luarocks_root}" path)"; if [[ "${OSTYPE}" == *"msys"* ]]; then
PATH="$(luarocks --tree "${luarocks_root}" path --lr-bin):${PATH}"; PATH="$(luarocks --tree "${luarocks_root}" path --lr-bin):${PATH}";
LUA_PATH="$(luarocks --tree "${luarocks_root}" path --lr-path);init.lua;./?.lua;${LUA_PATH}"; LUA_PATH="$(luarocks --tree "${luarocks_root}" path --lr-path);init.lua;./?.lua;${LUA_PATH}";
LUA_CPATH="$(luarocks --tree "${luarocks_root}" path --lr-cpath);./?.so;${LUA_CPATH}"; LUA_CPATH="$(luarocks --tree "${luarocks_root}" path --lr-cpath);./?.so;${LUA_CPATH}";
else
eval "$(luarocks --tree "${luarocks_root}" path)";
fi
export PATH LUA_PATH LUA_CPATH; export PATH LUA_PATH LUA_CPATH;