summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-27 06:06:38 +0000
committerjlam <jlam@pkgsrc.org>2002-08-27 06:06:38 +0000
commite4d02a9cf49f9c80bff2ec4fb182ca28c2383e12 (patch)
tree7c0f1aa6552dd4ecb98b99f9c01db13179dc54d5 /mk
parent78a53d1ac8f07c608bc697d9aa3a77453aead900 (diff)
downloadpkgsrc-e4d02a9cf49f9c80bff2ec4fb182ca28c2383e12.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}; \