diff options
author | cperciva <cperciva@FreeBSD.org> | 2006-06-09 03:40:04 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2006-06-09 03:40:04 +0000 |
commit | 30baa7af53775b9e1094addc4f0d64b35c3e7306 (patch) | |
tree | d5eb85f2951f45e5ed7258f1d6ebde7dd18e9cac /release | |
parent | e3103df96797adb2a5baaea347617d1e748782f8 (diff) | |
download | FreeBSD-src-30baa7af53775b9e1094addc4f0d64b35c3e7306.zip FreeBSD-src-30baa7af53775b9e1094addc4f0d64b35c3e7306.tar.gz |
When deleting empty directories prior to building the release tarballs,
pass the "-empty" flag to find(1). This change has no effect other
than to get rid of a few pages of "rmdir: ...: Directory not empty"
error messages. (Note that the "-empty" flag has been supported by
find(1) since 4.3-RELEASE.)
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile index de5359b..ed976fe 100644 --- a/release/Makefile +++ b/release/Makefile @@ -650,7 +650,7 @@ release.5: # Remove all the directories we don't need. -cd ${RD}/trees && \ (find ${OTHER_DISTS} -path '*/var/empty' | xargs chflags noschg; \ - find ${OTHER_DISTS} -depth -type d -print | xargs rmdir) + find ${OTHER_DISTS} -depth -type d -empty -print | xargs rmdir) touch ${.TARGET} # |