diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-04-18 13:51:49 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-04-18 13:51:49 +0000 |
commit | 71235773497ad7540d1d17ef3547921c28d45d38 (patch) | |
tree | 307dc33d33cf4f8b5a3544464a4c044ae148bbd4 /Tools/scripts | |
parent | 6867dac0a9976a36b82c55c74b6242a45afe40e3 (diff) | |
download | FreeBSD-ports-71235773497ad7540d1d17ef3547921c28d45d38.zip FreeBSD-ports-71235773497ad7540d1d17ef3547921c28d45d38.tar.gz |
Clean up empty dirs.
Diffstat (limited to 'Tools/scripts')
-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 9e280e5..53827d6 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." - |