mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Clean up empty dirs.
This commit is contained in:
parent
6cbdc9ab5d
commit
a346c15b29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79231
@ -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."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user