Skip to content

Commit

Permalink
fixup! add LuaDist patches
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeMasen committed Aug 26, 2021
1 parent de435fa commit b608ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function addCMakeBuildScripts(sourcePath, luaVersion) {
debug("removed luaconf.h")
mergeDirectory(path.join(__dirname, "patch", "shared"), sourcePath)
debug("merged patch/shared with %s", sourcePath)
const v = luaVersion.replace(/\.\d*(-beta\d)?+$/,'')
const v = luaVersion.replace(/\.\d*(-beta\d+)?$/,'')
debug("v: %s", v)
mergeDirectory(path.join(__dirname, "patch", "lua", v), sourcePath)
console.log("VERSION: " + v)
Expand Down

0 comments on commit b608ff5

Please sign in to comment.