1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"

Suggested by:	mat
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-10-27 17:35:52 +00:00
parent 01c11adf03
commit 166d24f12c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331787

View File

@ -261,6 +261,6 @@ do-install:
post-stage::
# TODO: change to ${_USE_PERL5:Mconfigure} when M::B creates .packlist
.if ${USE_PERL5:Mconfigure} || ${USE_PERL5:Mmodbuildtiny}
@([ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;) || ${TRUE}
-@[ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
.endif
.endif # defined(_POSTMKINCLUDED)