aboutsummaryrefslogtreecommitdiff
path: root/share/mk/atf.test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/atf.test.mk')
-rw-r--r--share/mk/atf.test.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/atf.test.mk b/share/mk/atf.test.mk
index 57cff5af1125..f7d66bfd7ada 100644
--- a/share/mk/atf.test.mk
+++ b/share/mk/atf.test.mk
@@ -105,7 +105,8 @@ ATF_TESTS_SH_SED_${_T}?= # empty
ATF_TESTS_SH_SRC_${_T}?= ${_T}.sh
${_T}: ${ATF_TESTS_SH_SRC_${_T}}
echo '#! /usr/libexec/atf-sh' > ${.TARGET}.tmp
- cat ${.ALLSRC} | sed ${ATF_TESTS_SH_SED_${_T}} >>${.TARGET}.tmp
+ cat ${.ALLSRC:N*Makefile*} \
+ | sed ${ATF_TESTS_SH_SED_${_T}} >>${.TARGET}.tmp
chmod +x ${.TARGET}.tmp
mv ${.TARGET}.tmp ${.TARGET}
.endfor