diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2015-12-26 23:29:16 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2015-12-26 23:29:16 +0100 |
commit | 26b6f6ce2945a667f21803446a73f03c07a8cff5 (patch) | |
tree | f218f41da408642aa73ae213126d6e0b451d5b89 | |
parent | fbe0915c8e5a59267decde4a538145ae62fb5869 (diff) | |
download | luarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.tar.gz luarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.tar.bz2 luarocks-26b6f6ce2945a667f21803446a73f03c07a8cff5.zip |
fix missing variable expansion when using a self contained configuration
-rw-r--r-- | install.bat | 2 |
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") |
984 | end | 984 | end |
985 | if vars.SYSCONFFORCE then -- only write this value when explcitly given, otherwise rely on defaults | 985 | if 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")) |
987 | end | 987 | end |
988 | f:write("return site_config\n") | 988 | f:write("return site_config\n") |
989 | f:close() | 989 | f:close() |