[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-755-ga3ab31d

Andreas Beckmann debian at abeckmann.de
Mon Jun 18 11:37:37 UTC 2012


The following commit has been merged in the piatti branch:
commit 263f8a0562f38107c1a4fd3ffaad3f44706e3ab7
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Jun 13 01:59:45 2012 +0200

    dwke: use consistent quoting in generated html
    
    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 9b4bc70..7f1ef33 100755
--- a/home/piupartsm/bin/detect_well_known_errors
+++ b/home/piupartsm/bin/detect_well_known_errors
@@ -167,7 +167,7 @@ do
 				if [ "${problem%_error.conf}_error.conf" = "$problem" ] ; then 
 					LATESTFAIL=$(grep -v ^pass/ $LIST_PKG | tail -n 1)
 					if [ "$LATEST" != "pass" ] && [ "$LATESTFAIL" = "$LOG" ] ; then 
-						echo "<li><a href='$LOG'>$LOG</a>" >> $OUTPUT
+						echo "<li><a href=\"$LOG\">$LOG</a>" >> $OUTPUT
 						echo "    (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)" >> $OUTPUT
 						BUG=${LOG%.log}.bug
 						test ! -s "$BUG" || cat "$BUG" >> $OUTPUT
@@ -179,7 +179,7 @@ do
 					# this is an issue, not an error
 					LATESTSUCCESS=$(grep ^pass/ $LIST_PKG | tail -n 1)
 					if [ "$LATEST" = "pass" ] && [ "$LATESTSUCCESS" = "$LOG" ] ; then 
-						echo "<li><a href='$LOG'>$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
+						echo "<li><a href=\"$LOG\">$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
 						echo "$LOG" >> $KNOWNLOGS
 						COUNT=$((COUNT+1))
 					fi 
@@ -212,7 +212,7 @@ do
 			LATEST=$(tail -n 1 $LIST_PKG | cut -d "/" -f1)
 			LATESTFAIL=$(grep -v ^pass/ $LIST_PKG | tail -n 1)
 			if [ "$LATEST" != "pass" ] && [ "$LATESTFAIL" = "$LOG" ] ; then 
-				echo "<li><a href='$LOG'>$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
+				echo "<li><a href=\"$LOG\">$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
 				COUNT=$((COUNT+1))
 			fi
 		done

-- 
piuparts git repository



More information about the Piuparts-commits mailing list