diff options
author | Hisham <hisham@gobolinux.org> | 2016-10-15 10:16:56 -0700 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-10-15 10:16:56 -0700 |
commit | bcd4344e557476e00e10796f6f82927904c23c88 (patch) | |
tree | 51df0526ff3449c4b54aed659988d03f7ef7fb72 /install.bat | |
parent | 1c4779c2f13b1bbc74cfdbb906f6a4225867f74b (diff) | |
parent | 90a39598f98bb203b3ddeed1c637fe4239046525 (diff) | |
download | luarocks-bcd4344e557476e00e10796f6f82927904c23c88.tar.gz luarocks-bcd4344e557476e00e10796f6f82927904c23c88.tar.bz2 luarocks-bcd4344e557476e00e10796f6f82927904c23c88.zip |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'install.bat')
-rw-r--r-- | install.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat index cfa080e5..0a35a28a 100644 --- a/install.bat +++ b/install.bat | |||
@@ -262,7 +262,7 @@ local function detect_lua_version(interpreter_path) | |||
262 | local full_version = handler:read("*a") | 262 | local full_version = handler:read("*a") |
263 | handler:close() | 263 | handler:close() |
264 | 264 | ||
265 | local version = full_version:match("^Lua (5%.[123])$") | 265 | local version = full_version:match(" (5%.[123])$") |
266 | if not version then | 266 | if not version then |
267 | return nil, "unknown interpreter version '" .. full_version .. "'" | 267 | return nil, "unknown interpreter version '" .. full_version .. "'" |
268 | end | 268 | end |