diff options
author | mpeterv <mpeterval@gmail.com> | 2016-04-03 12:35:41 +0300 |
---|---|---|
committer | mpeterv <mpeterval@gmail.com> | 2016-04-03 12:35:41 +0300 |
commit | 13a25a6fb826fcd890da64a93d2be64fd3a85745 (patch) | |
tree | 7f6e679cfa327b6d54b5b9b6a3d2c72755c14484 | |
parent | 0ddc39af72f608f8d386f5e79a86417da16c4b21 (diff) | |
download | luarocks-13a25a6fb826fcd890da64a93d2be64fd3a85745.tar.gz luarocks-13a25a6fb826fcd890da64a93d2be64fd3a85745.tar.bz2 luarocks-13a25a6fb826fcd890da64a93d2be64fd3a85745.zip |
install.bat: fix Wow6432Node substitution
-rw-r--r-- | install.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat index 1929ab75..053fdfd6 100644 --- a/install.bat +++ b/install.bat | |||
@@ -427,7 +427,7 @@ end | |||
427 | -- get a string value from windows registry. | 427 | -- get a string value from windows registry. |
428 | local function get_registry(key, value) | 428 | local function get_registry(key, value) |
429 | local keys = {key} | 429 | local keys = {key} |
430 | local key64, replaced = key:gsub("(%u+\\Software\\)", "\1Wow6432Node\\", 1) | 430 | local key64, replaced = key:gsub("(%u+\\Software\\)", "%1Wow6432Node\\", 1) |
431 | 431 | ||
432 | if replaced == 1 then | 432 | if replaced == 1 then |
433 | keys = {key64, key} | 433 | keys = {key64, key} |