Dont export export LUA_PATH and LUA_CPATH
This commit is contained in:
parent
9c7fc012e1
commit
7c92cb9ca6
@ -72,9 +72,8 @@ else
|
|||||||
echo "Run $0 install"
|
echo "Run $0 install"
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user