diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-04-18 13:51:49 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-04-18 13:51:49 +0000 |
commit | a346c15b29a1fc1da13b0b1914162e7cc346070d (patch) | |
tree | 18d5a2df3a1c150fe67f1297d9ca6888a919475b /Tools/scripts/distclean.sh | |
parent | Add a port for linux_base-debian 3.0.23, (diff) |
Clean up empty dirs.
Notes
Notes:
svn path=/head/; revision=79231
Diffstat (limited to '')
-rwxr-xr-x | Tools/scripts/distclean.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/distclean.sh b/Tools/scripts/distclean.sh index 9e280e5eda0c..53827d6466a8 100755 --- a/Tools/scripts/distclean.sh +++ b/Tools/scripts/distclean.sh @@ -14,7 +14,7 @@ # Maxim Sobolev # ---------------------------------------------------------------------------- # -# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.15 2003-04-08 13:36:45 sobomax Exp $ +# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.16 2003-04-18 13:51:49 sobomax Exp $ # # MAINTAINER= sobomax@FreeBSD.org @@ -78,8 +78,8 @@ echo "Done." R_MD5_COUNT=`wc -l $FN_RESULTS_SCRIPT | sed "s| $FN_RESULTS_SCRIPT|| ; s| ||g"` echo "$R_MD5_COUNT distfile(s) doesn't have corresponding md5 entries in ports directory." /bin/sh $FN_RESULTS_SCRIPT +find ${DISTDIR}/ -type d -empty -delete echo -n "Finishing..." rm -f $FN_RESULTS_SCRIPT $FN_PORTS $FN_DISTFILES echo "Done." - |