aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-04-18 13:51:49 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-04-18 13:51:49 +0000
commita346c15b29a1fc1da13b0b1914162e7cc346070d (patch)
tree18d5a2df3a1c150fe67f1297d9ca6888a919475b /Tools/scripts
parent6cbdc9ab5db0086a64f1eb0c3d4909f4f8db647c (diff)
downloadports-a346c15b29a1fc1da13b0b1914162e7cc346070d.tar.gz
ports-a346c15b29a1fc1da13b0b1914162e7cc346070d.zip
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/distclean.sh4
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."
-