[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Holger Levsen holger at layer-acht.org
Wed May 15 10:09:41 UTC 2013


The following commit has been merged in the master branch:
commit f005ee6ce577d58ed6543975f0c81bdee562f6bd
Author: David Steele <dsteele at gmail.com>
Date:   Tue Mar 26 08:47:57 2013 -0400

    generate_daily_report - State mkdir's were made in the wrong place.
    
    I see no evidence that the mkdir is needed. This fixes it
    nontheless.

diff --git a/master-bin/generate_daily_report.in b/master-bin/generate_daily_report.in
index 5159713..3c403f6 100755
--- a/master-bin/generate_daily_report.in
+++ b/master-bin/generate_daily_report.in
@@ -62,7 +62,9 @@ touch $FAILURESTAMP.new  # for the next report
 echo "New failures:" >> $DAILYREPORT
 for SECTION in $SECTIONS ; do
 	test -d $MASTER/$SECTION || continue
-	mkdir -p fail bugged affected untestable
+        for dr in fail bugged affected untestable; do
+		mkdir -p $MASTER/$SECTION/$dr
+	done
 	find $MASTER/$SECTION/fail $MASTER/$SECTION/bugged $MASTER/$SECTION/affected $MASTER/$SECTION/untestable \
 		-type f -name '*.log' -newer $FAILURESTAMP -exec ls -1 {} + 2>/dev/null
 done | sed s#^$MASTER#$URLBASE# >> $DAILYREPORT

-- 
piuparts git repository



More information about the Piuparts-commits mailing list