config: check OS version before doing anything; closes #260

This commit is contained in:
Franco Fichtner 2022-01-18 08:56:37 +01:00
parent 278a72fa81
commit adc0ee4a12
3 changed files with 8 additions and 0 deletions

View File

@ -187,3 +187,9 @@ ${SCRIPT}: lint-composite
${VERBOSE_HIDDEN} cd ${.CURDIR} && FLAVOUR="${FLAVOUR}" \
sh ${VERBOSE_FLAGS} ./composite/${SCRIPT}.sh ${${SCRIPT}_ARGS}
.endfor
_OS!= uname -r
_OS:= ${_OS:C/-.*//}
.if "${_OS}" != "${OS}"
.error Expected OS version ${OS}; to continue anyway set OS=${_OS}
.endif

View File

@ -1,4 +1,5 @@
LUA?= 5.3
OS?= 12.1
PERL?= 5.32
PHP?= 74
PYTHON?= 38

View File

@ -1,4 +1,5 @@
LUA?= 5.3
OS?= 13.0
PERL?= 5.32
PHP?= 74
PYTHON?= 38