From d81c1a19b25507ce6e44147ad9b98893379ae453 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 5 Feb 2023 15:11:19 +0000 Subject: [PATCH] tests/lint: fix resolving of wildcards in builds from other directories --- tests/usr.bin/xlint/lint1/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/usr.bin/xlint/lint1/Makefile b/tests/usr.bin/xlint/lint1/Makefile index aa1be015634d..d916a6bb6568 100644 --- a/tests/usr.bin/xlint/lint1/Makefile +++ b/tests/usr.bin/xlint/lint1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.137 2023/02/05 12:36:56 rillig Exp $ +# $NetBSD: Makefile,v 1.138 2023/02/05 15:11:19 rillig Exp $ NOMAN= # defined @@ -17,7 +17,7 @@ archsubdir.sh: @echo archsubdir=${ARCHSUBDIR} >${.TARGET} FILESDIR= ${TESTSDIR} -FILES+= ${:!echo *.c!} +FILES+= ${:!cd ${FILESDIR} && echo *.c!} FILES+= check-expect.lua # Note: only works for adding tests.