mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 05:53:26 +00:00
Allow to use a commit hash for .relver
This commit is contained in:
parent
41fb94defa
commit
d1af2f7e08
@ -29,7 +29,7 @@ local function file_write_mod(file, data)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local text = file_read(FILE_ROLLING_H)
|
local text = file_read(FILE_ROLLING_H)
|
||||||
local relver = file_read(FILE_RELVER_TXT):match("(%d+)")
|
local relver = file_read(FILE_RELVER_TXT):match("(%w+)")
|
||||||
|
|
||||||
if relver then
|
if relver then
|
||||||
text = text:gsub("ROLLING", relver)
|
text = text:gsub("ROLLING", relver)
|
||||||
|
Loading…
Reference in New Issue
Block a user