config: check OS version before doing anything; closes #260
This commit is contained in:
parent
278a72fa81
commit
adc0ee4a12
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
LUA?= 5.3
|
||||
OS?= 12.1
|
||||
PERL?= 5.32
|
||||
PHP?= 74
|
||||
PYTHON?= 38
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
LUA?= 5.3
|
||||
OS?= 13.0
|
||||
PERL?= 5.32
|
||||
PHP?= 74
|
||||
PYTHON?= 38
|
||||
|
|
Loading…
Reference in New Issue