Skip to content

Commit b608ff5

Browse files
author
Robert Masen
committed
fixup! add LuaDist patches
1 parent de435fa commit b608ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ async function addCMakeBuildScripts(sourcePath, luaVersion) {
187187
debug("removed luaconf.h")
188188
mergeDirectory(path.join(__dirname, "patch", "shared"), sourcePath)
189189
debug("merged patch/shared with %s", sourcePath)
190-
const v = luaVersion.replace(/\.\d*(-beta\d)?+$/,'')
190+
const v = luaVersion.replace(/\.\d*(-beta\d+)?$/,'')
191191
debug("v: %s", v)
192192
mergeDirectory(path.join(__dirname, "patch", "lua", v), sourcePath)
193193
console.log("VERSION: " + v)

0 commit comments

Comments
 (0)