mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-04 21:29:21 +00:00
doc(lua): Example: Remove <const> for Lua 5.3 compatibility
This commit is contained in:
@@ -29,7 +29,7 @@ end
|
|||||||
-- Instance layout (base paths)
|
-- Instance layout (base paths)
|
||||||
local home = os.getenv('HOME')
|
local home = os.getenv('HOME')
|
||||||
|
|
||||||
local cfg <const> = {}
|
local cfg = {}
|
||||||
cfg.basedir = home..'/rtorrent/'
|
cfg.basedir = home..'/rtorrent/'
|
||||||
cfg.download = cfg.basedir..'download/'
|
cfg.download = cfg.basedir..'download/'
|
||||||
cfg.logs = cfg.basedir..'log/'
|
cfg.logs = cfg.basedir..'log/'
|
||||||
|
|||||||
Reference in New Issue
Block a user