[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-701-g79736e3
Andreas Beckmann
debian at abeckmann.de
Thu Jun 14 10:08:53 UTC 2012
The following commit has been merged in the develop branch:
commit e82b6735af53129dab773001d9510ed4e6facec8
Author: David Steele <dsteele at gmail.com>
Date: Sat Jun 9 11:22:46 2012 -0400
detect-well-known-errors - use relative addressing for log links.
diff --git a/home/piupartsm/bin/detect_well_known_errors b/home/piupartsm/bin/detect_well_known_errors
index a51d849..9b4bc70 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='/$SECTION/$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='/$SECTION/$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='/$SECTION/$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