diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2016-08-10 18:22:42 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2016-08-10 18:22:42 +0000 |
commit | 14009f5e90d7f8abde1ddfbf3267884e4a9a37ea (patch) | |
tree | df816deae2f99e00d359b69830f619b3ad3b4dbe /Makefile.inc1 | |
parent | c870956d72f2947ba6a68e4aeca4f18dd240c5c9 (diff) | |
download | src-14009f5e90d7f8abde1ddfbf3267884e4a9a37ea.tar.gz src-14009f5e90d7f8abde1ddfbf3267884e4a9a37ea.zip |
Only remove empty directories before packaging.
This preserves files are intentionally empty, most of them are in tests.txz
Reviewed by: bdrewery
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=303935
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index a27d562df736..7e9a3526b932 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1013,7 +1013,7 @@ distributeworld installworld stageworld: _installcheck_world .PHONY ${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} |