prep for downloads from build site
diff --git a/releng.control/cleanupArtifacts.sh b/releng.control/cleanupArtifacts.sh
index fdebdc5..37d6fcd 100644
--- a/releng.control/cleanupArtifacts.sh
+++ b/releng.control/cleanupArtifacts.sh
@@ -29,6 +29,9 @@
 before=`find ${artifactsDir} -mindepth 2 -maxdepth 2 | wc -l`;
 echo "            number of directories before cleaning: ${before}";
 
+# empty directories often result from "bad builds"
+find ${artifactsDir} -mindepth 2 -maxdepth 2 -type d -empty -exec rm -fr '{}' \;
+# now remove old ones
 find ${artifactsDir} -mindepth 2 -maxdepth 2 -ctime +$n -exec rm -fr '{}' \;
 
 after=`find ${artifactsDir} -mindepth 2 -maxdepth 2 | wc -l`;