Dont export export LUA_PATH and LUA_CPATH
This commit is contained in:
parent
9c7fc012e1
commit
7c92cb9ca6
@ -73,8 +73,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PREFIX="$THIS_DIR/.luarocks"
|
||||
export LUA_CPATH=";;${PREFIX}/lib/lua/5.2/?.so"
|
||||
export LUA_PATH=";;${PREFIX}/share/lua/5.2/?.lua;${PREFIX}/share/lua/5.2/?/init.lua"
|
||||
LUA_PATH=";;.luarocks/share/lua/5.2/?.lua;.luarocks/share/lua/5.2/?/init.lua" \
|
||||
LUA_CPATH=";;.luarocks/lib/lua/5.2/?.so" \
|
||||
./tg/bin/telegram-cli -k ./tg/tg-server.pub -s ./bot/bot.lua -l 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user