summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-03 06:40:01 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-03 06:40:01 +0000
commitc819e297c20afbc41d4149db633e7e3dd6132134 (patch)
tree0dfd7d2b6a5bcb4d36299818461ada8c4efbf373 /editors
parentpkg knows how to deal with empty directories (diff)
Use directly @dirrmtry
Notes
Notes: svn path=/head/; revision=367168
Diffstat (limited to 'editors')
-rw-r--r--editors/libreoffice/Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/libreoffice/Makefile.common b/editors/libreoffice/Makefile.common
index 161daec49a63..b419b8e1a7a5 100644
--- a/editors/libreoffice/Makefile.common
+++ b/editors/libreoffice/Makefile.common
@@ -57,7 +57,7 @@ post-extract:
do-install:
@${RM} -f ${PLISTD} ${PLISTF}
- cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} ; ${FIND} * -type d -exec ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/{} || ${TRUE}" \; >> ${PLISTD}
+ cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} ; ${FIND} * -type d -exec ${ECHO_CMD} "@dirrmtry lib/${PORTNAME}/{}" \; >> ${PLISTD}
cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} ; ${FIND} * \( -type f -o -type l \) -exec ${ECHO_CMD} "lib/${PORTNAME}/{} " \; >> ${PLISTF}
${SORT} ${PLISTF} >> ${TMPPLIST}