summaryrefslogtreecommitdiffstats
path: root/lang/lua/luajit2/test-version.sh
blob: 818f2a1dfba261648f66ca80f71d9714892546d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in #luajit2 use build number at -v but releases are named by date
luajit2)
	luajit2 -v 2>&1 | grep -F "LuaJIT 2.1."
	;;
*)
	echo "Untested package: $PKG_NAME" >&2
	exit 1
	;;
esac