summaryrefslogtreecommitdiff
path: root/install.bat
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-08-11 20:55:08 -0300
committerHisham <hisham@gobolinux.org>2016-08-11 20:55:08 -0300
commit5cdc22fb3c3a85160cd7c2d49ba10ab113e4a784 (patch)
treef4b9544389da04045d40daec5d5bcbcaaac34bff /install.bat
parent36b0198c669e1fcbe706b371bb983e190decd664 (diff)
downloadluarocks-5cdc22fb3c3a85160cd7c2d49ba10ab113e4a784.tar.gz
luarocks-5cdc22fb3c3a85160cd7c2d49ba10ab113e4a784.tar.bz2
luarocks-5cdc22fb3c3a85160cd7c2d49ba10ab113e4a784.zip
Make behavior of config files on Windows more consistent
with that on Unix. This was detected during the port of the new testsuite to Windows by @robooo.
Diffstat (limited to 'install.bat')
-rw-r--r--install.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index dcd132ff..cc4a5257 100644
--- a/install.bat
+++ b/install.bat
@@ -993,7 +993,7 @@ if FORCE_CONFIG then
993 f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n") 993 f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n")
994end 994end
995if vars.SYSCONFFORCE then -- only write this value when explcitly given, otherwise rely on defaults 995if vars.SYSCONFFORCE then -- only write this value when explcitly given, otherwise rely on defaults
996 f:write(S("site_config.LUAROCKS_SYSCONFIG=[[$CONFIG_FILE]]\n")) 996 f:write(S("site_config.LUAROCKS_SYSCONFDIR=[[$SYSCONFDIR]]\n"))
997end 997end
998f:write("return site_config\n") 998f:write("return site_config\n")
999f:close() 999f:close()