diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2016-09-13 05:22:08 +0000 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2016-09-13 05:22:08 +0000 |
commit | 1e561bde87ea83d79d9b51cb7bd5300d5c286656 (patch) | |
tree | 08413197c027cdecf82037f520ec1577f2155771 | |
parent | 7cdb4294a833ac14a8a59a480e6fa78d55ed4714 (diff) | |
download | FreeBSD-src-1e561bde87ea83d79d9b51cb7bd5300d5c286656.zip FreeBSD-src-1e561bde87ea83d79d9b51cb7bd5300d5c286656.tar.gz |
MFC r303935
Only remove empty directories before packaging.
This preserves files are intentionally empty, most of them are in tests.txz
Reviewed by: bdrewery
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index e98a90e..60d2754 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -882,7 +882,7 @@ distributeworld installworld: _installcheck_world ${IMAKEENV} rm -rf ${INSTALLTMP} .if make(distributeworld) .for dist in ${EXTRA_DISTRIBUTIONS} - find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -empty -delete + find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -type d -empty -delete .endfor .if defined(NO_ROOT) .for dist in base ${EXTRA_DISTRIBUTIONS} |