summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xTools/portbuild/scripts/processfail15
1 files changed, 1 insertions, 14 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail
index 1f97479d2689..a68f9c839df9 100755
--- a/Tools/portbuild/scripts/processfail
+++ b/Tools/portbuild/scripts/processfail
@@ -5,9 +5,6 @@
arch=$1
branch=$2
-scriptdir=$(dirname $0)
-errorscript=${scriptdir}/processonelog
-
pb=/var/portbuild
of=/usr/local/www/data/errorlogs/.${arch}-${branch}-failure.html
@@ -44,16 +41,10 @@ footer() {
echo "</html>" >>$of
}
-geterrortype() {
- set $(echo `${errorscript} $logfile ./ports` | tr \| " ")
- reason=$(echo $7 | tr '_' ' ')
- echo "<a href=\"http://bento.freebsd.org/#$8\">$reason</a>"
-}
-
#
# Create "default" output, sorted on portname
#
-header "<th>Port</th><th>Package</th><th>Error</th><th>Broken</th><th>Last</th><th>#</th>"
+header "<th>Port</th><th>Package</th><th>Broken</th><th>Last</th><th>#</th>"
sort -r -n -k 4 -t \| failure > newfailure
IFS='|'
@@ -67,10 +58,6 @@ while read dir name ver date last count; do
# echo "<td><a href=\"mailto:$6\">$6</a></td>" >> $of
# echo "<td>" >> $of
- logfile=${ver}.log
- errortype=`geterrortype`
- echo "<td>$errortype</td>" >> $of
-
alphadate=$(date -jf %s ${date} "+%F %T")
alphalast=$(date -jf %s ${last} "+%F %T")
echo "<td>${alphadate}</td>" >> $of