remove empty directories when cleaning

This commit is contained in:
Mark Andrews
2012-10-06 17:26:58 +10:00
parent 91dd13bacf
commit 20783a3baf

View File

@@ -35,4 +35,5 @@ status=0
for d in $SUBDIRS
do
test ! -f $d/clean.sh || ( cd $d && sh clean.sh )
find $d -type d -exec rmdir '{}' \; 2> /dev/null
done