aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-06-05 22:27:49 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-06-05 22:27:49 +0000
commitb9bcca07f5069bc40e272cbd9dc19ac2849145a0 (patch)
treee4be10a5a3df060701b08bad13fc68896aa902ce /Makefile.inc1
parent5eb07ec7293a704207a924ad4803f434c3e2823d (diff)
Notes
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 2574e4dc7fc1..f09aa970a99a 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -798,7 +798,7 @@ distributeworld installworld: installcheck installcheck_UGID
${IMAKEENV} rm -rf ${INSTALLTMP}
.if make(distributeworld)
.for dist in ${EXTRA_DISTRIBUTIONS}
- find ${DESTDIR}/${DISTDIR}/${dist} -empty -delete
+ find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -empty -delete
.endfor
.if defined(NO_ROOT)
.for dist in base ${EXTRA_DISTRIBUTIONS}