svn commit: r417600 - head/mail/davmail

Jason Unovitch junovitch at FreeBSD.org
Sun Jun 26 18:28:24 UTC 2016


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


More information about the svn-ports-head mailing list