forked from github/server
find config files in ERESSEA_DIR if config.install is not set
This commit is contained in:
parent
8421e64c6e
commit
e36cac1188
|
@ -1,11 +1,8 @@
|
||||||
local path = os.getenv("ERESSEA_DIR")
|
local path = '.'
|
||||||
if not path then
|
if config.install then
|
||||||
if config.install then
|
path = config.install
|
||||||
path = config.install
|
|
||||||
else
|
|
||||||
path = '.'
|
|
||||||
end
|
|
||||||
else
|
else
|
||||||
|
path = os.getenv("ERESSEA_DIR") or path
|
||||||
config.install = path
|
config.install = path
|
||||||
end
|
end
|
||||||
path = path .. "/scripts"
|
path = path .. "/scripts"
|
||||||
|
|
|
@ -7,6 +7,5 @@ locales = de,en
|
||||||
|
|
||||||
[lua]
|
[lua]
|
||||||
install = ..
|
install = ..
|
||||||
paths = lunit:scripts
|
|
||||||
maxnmrs = 20
|
maxnmrs = 20
|
||||||
rules = e2
|
rules = e2
|
||||||
|
|
Loading…
Reference in New Issue