summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2008-10-25 22:27:34 +0000
committerapb <apb@NetBSD.org>2008-10-25 22:27:34 +0000
commitf46c1de7cbdec5bc8a818069ff8760cb0b3581d2 (patch)
tree5c3118f28e2161d36621caa1dc75ffe469312e1f /usr.bin/make
parent89799ead73e9671c68327c04a475cc5762a86697 (diff)
Use ${TOOL_SED} instead if plain sed in Makefiles.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/unit-tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/unit-tests/Makefile b/usr.bin/make/unit-tests/Makefile
index 1ea0d68b84a..cf75564ca45 100644
--- a/usr.bin/make/unit-tests/Makefile
+++ b/usr.bin/make/unit-tests/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/03/31 00:12:21 sjg Exp $
+# $NetBSD: Makefile,v 1.23 2008/10/25 22:27:39 apb Exp $
#
# Unit tests for make(1)
# The main targets are:
@@ -58,7 +58,7 @@ TEST_MAKE?= ${.MAKE}
test:
@echo "${TEST_MAKE} -f ${MAKEFILE} > ${.TARGET}.out 2>&1"
@cd ${.OBJDIR} && ${TEST_MAKE} -f ${MAKEFILE} 2>&1 | \
- sed -e 's,^${TEST_MAKE:T:C/\./\\\./g}:,make:,' \
+ ${TOOL_SED} -e 's,^${TEST_MAKE:T:C/\./\\\./g}:,make:,' \
-e '/stopped/s, /.*, unit-tests,' \
-e 's,${.CURDIR:C/\./\\\./g}/,,g' \
-e 's,${UNIT_TESTS:C/\./\\\./g}/,,g' > ${.TARGET}.out || { \