summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-27 06:06:38 +0000
committerjlam <jlam>2002-08-27 06:06:38 +0000
commit90d8808aa25ccb8d318752e3b0c487aa5e8a1434 (patch)
tree7c0f1aa6552dd4ecb98b99f9c01db13179dc54d5 /mk
parent9ebf9023d8a9ad42ab62c8c75a7ec8c2f17e10c0 (diff)
downloadpkgsrc-90d8808aa25ccb8d318752e3b0c487aa5e8a1434.tar.gz
In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of just
using "true" at the end.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4c59eac9652..2178ce14501 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1035 2002/08/26 05:17:40 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1036 2002/08/27 06:06:38 jlam Exp $
#
# This file is in the public domain.
#
@@ -4188,7 +4188,7 @@ PERL5_PACKLIST_FILES= ( ${CAT} ${PERL5_PACKLIST}; for f in ${PERL5_PACKLIST}; do
PERL5_PACKLIST_DIRS= ( ${CAT} ${PERL5_PACKLIST}; for f in ${PERL5_PACKLIST}; do [ ! -f $$f ] || ${ECHO} $$f; done ) \
| ${SED} -e "s,[ ].*,," -e "s,/\./,/,g" -e "s,${PREFIX}/,," \
-e "s,^,@unexec \${RMDIR} -p %D/," \
- -e "s,/[^/]*$$, 2>/dev/null || true," \
+ -e "s,/[^/]*$$, 2>/dev/null || \${TRUE}," \
| ${SORT} -ur
PERL5_GENERATE_PLIST= ${PERL5_COMMENT}; \
${PERL5_PACKLIST_FILES}; \