Run check-expect.lua in .CURDIR

This commit is contained in:
sjg 2024-06-01 15:54:40 +00:00
parent 85e843ca83
commit aee3d42c8f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.346 2024/06/01 10:06:23 rillig Exp $
# $NetBSD: Makefile,v 1.347 2024/06/01 15:54:40 sjg Exp $
#
# Unit tests for make(1)
#
@ -776,7 +776,7 @@ test: ${OUTFILES} .PHONY
lua=${LUA:Ulua} ; \
have_lua=$$("$$lua" -e 'print "yes"' 2>&1) ; \
if [ "$$have_lua" = "yes" ]; then \
"$$lua" ./check-expect.lua *.mk; \
(cd ${.CURDIR} && "$$lua" ./check-expect.lua *.mk); \
fi; \
fi