Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 17:35:53 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331787 - head/Mk/Uses
Message-ID:  <201310271735.r9RHZri2061428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271735.r9RHZri2061428>