mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
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
This commit is contained in:
parent
c870956d72
commit
14009f5e90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303935
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user