svn commit: r331787 - head/Mk/Uses

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Oct 27 17:35:53 UTC 2013


Author: sunpoet
Date: Sun Oct 27 17:35:52 2013
New Revision: 331787
URL: http://svnweb.freebsd.org/changeset/ports/331787

Log:
  - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
  
  Suggested by:	mat

Modified:
  head/Mk/Uses/perl5.mk

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Sun Oct 27 17:19:37 2013	(r331786)
+++ head/Mk/Uses/perl5.mk	Sun Oct 27 17:35:52 2013	(r331787)
@@ -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)


More information about the svn-ports-head mailing list