[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-647-gaf1a481
Andreas Beckmann
debian at abeckmann.de
Sun Jun 3 07:10:54 UTC 2012
The following commit has been merged in the develop branch:
commit af1a481e3fdc997e674bc1f015724d2268d54e11
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sat Jun 2 13:19:19 2012 +0200
dwke: cleanup obsolete .bug files
delete .bug without corresponding .log
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/home/piupartsm/bin/detect_well_known_errors b/home/piupartsm/bin/detect_well_known_errors
index f2728d6..a51d849 100755
--- a/home/piupartsm/bin/detect_well_known_errors
+++ b/home/piupartsm/bin/detect_well_known_errors
@@ -67,6 +67,18 @@ do
cd $MASTER/$SECTION
#
+ # remove outdated *.bug files
+ #
+ find pass bugged affected fail -name '*.bug' | \
+ while read bug
+ do
+ log="${bug%.bug}.log"
+ if [ ! -f "$log" ]; then
+ rm -f "$bug"
+ fi
+ done
+
+ #
# remove all *.kpr files if rechecking is requested
#
if [ "$1" = "--recheck" ]; then
--
piuparts git repository
More information about the Piuparts-commits
mailing list