aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/core/cfg.lua2
-rw-r--r--src/luarocks/util.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua
index f036aa44..834dba79 100644
--- a/src/luarocks/core/cfg.lua
+++ b/src/luarocks/core/cfg.lua
@@ -15,7 +15,7 @@ local rawset, next, table, pairs, require, io, os, setmetatable, pcall, ipairs,
15 15
16local cfg = {} 16local cfg = {}
17 17
18cfg.lua_version = _VERSION:match(" (5%.[123])$") or "5.1" 18cfg.lua_version = _VERSION:match(" (5%.[1234])$") or "5.1"
19local version_suffix = cfg.lua_version:gsub("%.", "_") 19local version_suffix = cfg.lua_version:gsub("%.", "_")
20 20
21-- Load site-local global configurations 21-- Load site-local global configurations
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua
index 7fdefce0..ff36aa50 100644
--- a/src/luarocks/util.lua
+++ b/src/luarocks/util.lua
@@ -310,7 +310,7 @@ function util.variable_substitutions(tbl, vars)
310end 310end
311 311
312function util.lua_versions() 312function util.lua_versions()
313 local versions = { "5.1", "5.2", "5.3" } 313 local versions = { "5.1", "5.2", "5.3", "5.4" }
314 local i = 0 314 local i = 0
315 return function() 315 return function()
316 i = i + 1 316 i = i + 1