aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-09 11:05:17 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-10 19:02:50 -0300
commit9d38b91692d53cc485c55bad8d55357f04b30141 (patch)
tree77aa4ac896b0004e09d9786f2a565ca3151b4097 /spec
parent68a54b3f1bd8d26aca41b2a2bada1af7ac32f7ff (diff)
downloadluarocks-9d38b91692d53cc485c55bad8d55357f04b30141.tar.gz
luarocks-9d38b91692d53cc485c55bad8d55357f04b30141.tar.bz2
luarocks-9d38b91692d53cc485c55bad8d55357f04b30141.zip
cfg: detect sysconfdir based on location of sources
This will help a stand-alone luarocks.loader find the system config file without any environment variable or hardcoded value, in most common situations (i.e. unless a non-standard sysconfdir was given during installation -- but then a stand-alone luarocks.loader loaded by a third-party program probably shouldn't assume non-standard configurations anyway; and when they do they should set up their environment accordingly, preloading luarocks.core.hardcoded.)
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions