Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Commit 2e6f98e

Browse files
committed
fix luac check for lua 5.4
1 parent 0b5321f commit 2e6f98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ install: verify install-objc install-lua
6060
test -f docs.json && install -m 0644 docs.json $(PREFIX)/$(MODPATH)/$(MODULE) || echo "No docs.json file to install"
6161

6262
verify: $(LUAFILE)
63-
@if $$(hash lua-5.3 >& /dev/null); then (luac-5.3 -p $(LUAFILE) && echo "Lua Compile Verification Passed"); else echo "Skipping Lua Compile Verification"; fi
63+
@if $$(hash lua >& /dev/null); then (luac -p $(LUAFILE) && echo "Lua Compile Verification Passed"); else echo "Skipping Lua Compile Verification"; fi
6464

6565
install-objc: $(SOFILE)
6666
mkdir -p $(PREFIX)/$(MODPATH)/$(MODULE)

0 commit comments

Comments
 (0)