aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2015-12-26 23:29:16 +0100
committerThijs Schreijer <thijs@thijsschreijer.nl>2015-12-26 23:29:16 +0100
commit26b6f6ce2945a667f21803446a73f03c07a8cff5 (patch)
treef218f41da408642aa73ae213126d6e0b451d5b89
parentfbe0915c8e5a59267decde4a538145ae62fb5869 (diff)
downloadluarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.tar.gz
luarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.tar.bz2
luarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.zip
fix missing variable expansion when using a self contained configuration
-rw-r--r--install.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index 8e3df4d9..1929ab75 100644
--- a/install.bat
+++ b/install.bat
@@ -983,7 +983,7 @@ if FORCE_CONFIG then
983 f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n") 983 f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n")
984end 984end
985if vars.SYSCONFFORCE then -- only write this value when explcitly given, otherwise rely on defaults 985if vars.SYSCONFFORCE then -- only write this value when explcitly given, otherwise rely on defaults
986 f:write("site_config.LUAROCKS_SYSCONFIG=[[$CONFIG_FILE]]\n") 986 f:write(S("site_config.LUAROCKS_SYSCONFIG=[[$CONFIG_FILE]]\n"))
987end 987end
988f:write("return site_config\n") 988f:write("return site_config\n")
989f:close() 989f:close()