summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormycroft <mycroft>2000-06-03 20:31:27 +0000
committermycroft <mycroft>2000-06-03 20:31:27 +0000
commit7d9a641856c1ce1abebc1b69486f1c057e59b50c (patch)
tree48cb8f8bcc27ac0aa7cf1e7ba2692db64aa71fd3 /mk
parentdf40debfc489600c6ad957aefd1be292607afed2 (diff)
downloadpkgsrc-7d9a641856c1ce1abebc1b69486f1c057e59b50c.tar.gz
Fix missing redirection in ${DDIR} generation.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ac31285ba24..65418d6027d 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.466 2000/06/03 20:26:05 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.467 2000/06/03 20:31:27 mycroft Exp $
#
# This file is in the public domain.
#
@@ -1924,7 +1924,8 @@ ${DDIR}: ${DLIST}
ddir=`${SED} 's:-[^-]*$$::' <${DLIST}`; \
if ${PKG_INFO} -b $${ddir} >/dev/null 2>&1 ; then \
${PKG_INFO} -b $${ddir} | \
- ${SED} -ne 's,^\([^/]*/[^/]*\)/Makefile:.*,\1,p'; \
+ ${SED} -ne 's,^\([^/]*/[^/]*\)/Makefile:.*,\1,p' \
+ >${DDIR}; \
else \
${ECHO} >${DDIR}; \
fi