diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-04-02 04:15:05 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-04-02 04:15:05 +0800 |
commit | b48b64339ff685362797f329e62e405007bea375 (patch) | |
tree | 279fec7c911679841078f8f871f662aea9a0a3be /editors | |
parent | 1c375ba1d1a228736b943cbbd860a1874371d0e6 (diff) | |
download | freebsd-ports-gnome-b48b64339ff685362797f329e62e405007bea375.tar.gz freebsd-ports-gnome-b48b64339ff685362797f329e62e405007bea375.tar.zst freebsd-ports-gnome-b48b64339ff685362797f329e62e405007bea375.zip |
- Fix handling of empty directories in documentation
PR: 207368
Submitted by: amdmi3
Approved by: maintainer timeout (office, > 1 month)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/libreoffice/Makefile.i18n | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/libreoffice/Makefile.i18n b/editors/libreoffice/Makefile.i18n index 65c500d81471..722108b52f29 100644 --- a/editors/libreoffice/Makefile.i18n +++ b/editors/libreoffice/Makefile.i18n @@ -41,5 +41,7 @@ do-install: post-install: @cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} && \ - ${FIND} -s * -not -type d \ - -exec ${ECHO_CMD} "lib/${PORTNAME}/{} " \; >> ${TMPPLIST} + ${FIND} -s * -not -type d \ + -exec ${ECHO_CMD} "lib/${PORTNAME}/{}" \; >> ${TMPPLIST} && \ + ${FIND} -d * -type d -empty \ + -exec ${ECHO_CMD} "@dir lib/${PORTNAME}/{}" \; >> ${TMPPLIST} |