Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2016 18:28:23 +0000 (UTC)
From:      Jason Unovitch <junovitch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417600 - head/mail/davmail
Message-ID:  <201606261828.u5QISNNH004629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: junovitch
Date: Sun Jun 26 18:28:23 2016
New Revision: 417600
URL: https://svnweb.freebsd.org/changeset/ports/417600

Log:
  mail/davmail: simplify find flags from update in 417509
  
  - Use find's '-delete' option over '-exec ${RMDIR}'
  
  Reported by:	mat

Modified:
  head/mail/davmail/Makefile

Modified: head/mail/davmail/Makefile
==============================================================================
--- head/mail/davmail/Makefile	Sun Jun 26 18:25:41 2016	(r417599)
+++ head/mail/davmail/Makefile	Sun Jun 26 18:28:23 2016	(r417600)
@@ -52,8 +52,7 @@ do-install:
 		-not -name "*.rpm" \
 		-not -name "*.desktop" \
 		-exec ${INSTALL_DATA} \{} ${STAGEDIR}${DATADIR}/\{} \;
-	@${FIND} ${STAGEDIR}/${DATADIR} -depth -empty -type d \
-		-exec ${RMDIR} \{} +
+	@${FIND} ${STAGEDIR}/${DATADIR} -depth -empty -type d -delete
 	${INSTALL_SCRIPT} ${WRKDIR}/davmail.sh ${STAGEDIR}${PREFIX}/bin/davmail
 	${INSTALL_DATA} ${WRKSRC}/src/etc/davmail.properties \
 		${STAGEDIR}${PREFIX}/etc/davmail.properties.sample



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