diff options
author | Hisham <hisham@gobolinux.org> | 2016-10-15 10:19:34 -0700 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-10-15 10:19:34 -0700 |
commit | 6f928845e8d167cf4caf4828a79069d9b71cffd8 (patch) | |
tree | 98fabdaaf9f7ac6f6f0a5938c8b9a2d5d52a87fa /install.bat | |
parent | a47f54bb139aa3b932d807e89a0691dfdfaa9723 (diff) | |
parent | bcd4344e557476e00e10796f6f82927904c23c88 (diff) | |
download | luarocks-6f928845e8d167cf4caf4828a79069d9b71cffd8.tar.gz luarocks-6f928845e8d167cf4caf4828a79069d9b71cffd8.tar.bz2 luarocks-6f928845e8d167cf4caf4828a79069d9b71cffd8.zip |
Merge branch 'master' into luarocks-3
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 7c0f8b73..ddbc39c2 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 |