Dont export export LUA_PATH and LUA_CPATH

This commit is contained in:
yago 2015-04-09 22:27:19 +02:00
parent 9c7fc012e1
commit 7c92cb9ca6

View File

@ -73,8 +73,7 @@ else
exit 1 exit 1
fi fi
PREFIX="$THIS_DIR/.luarocks" LUA_PATH=";;.luarocks/share/lua/5.2/?.lua;.luarocks/share/lua/5.2/?/init.lua" \
export LUA_CPATH=";;${PREFIX}/lib/lua/5.2/?.so" LUA_CPATH=";;.luarocks/lib/lua/5.2/?.so" \
export LUA_PATH=";;${PREFIX}/share/lua/5.2/?.lua;${PREFIX}/share/lua/5.2/?/init.lua"
./tg/bin/telegram-cli -k ./tg/tg-server.pub -s ./bot/bot.lua -l 1 ./tg/bin/telegram-cli -k ./tg/tg-server.pub -s ./bot/bot.lua -l 1
fi fi