diff options
author | jlam <jlam> | 2002-08-27 06:06:38 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-27 06:06:38 +0000 |
commit | b614f1819883595b3118131f0e8c9f817833691f (patch) | |
tree | 7c0f1aa6552dd4ecb98b99f9c01db13179dc54d5 | |
parent | 78472d9581129777d5ed41f8c966440086526fd1 (diff) | |
download | pkgsrc-b614f1819883595b3118131f0e8c9f817833691f.tar.gz |
In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of just
using "true" at the end.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
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}; \ |