aboutsummaryrefslogtreecommitdiff
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-10-25 04:31:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-10-25 04:31:14 +0000
commitf233e968d984ceeed1ef81fe2443dab2ed5efd0a (patch)
treee36e55526ee727714450e3dffc2d52ee29ce14fd /Tools/portbuild
parentc3798084094ab0924cb0c6751771398c783f3c19 (diff)
downloadports-f233e968d984ceeed1ef81fe2443dab2ed5efd0a.tar.gz
ports-f233e968d984ceeed1ef81fe2443dab2ed5efd0a.zip
Notes
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/processfail7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail
index a68f9c839df9..587dc256b102 100755
--- a/Tools/portbuild/scripts/processfail
+++ b/Tools/portbuild/scripts/processfail
@@ -51,7 +51,12 @@ IFS='|'
while read dir name ver date last count; do
echo "<tr>" >> $of
echo "<td><a href=\"http://cvsweb.freebsd.org/ports/$dir\">$dir</a></td>" >> $of
- echo "<td><a href=\"${arch}-${branch}-latest/$ver.log\">$ver</a></td>" >> $of
+ if [ -L ${pb}/${arch}/${branch}/latest/${dir} ]; then
+ err=$(readlink ${pb}/${arch}/${branch}/latest/${dir})
+ echo "<td><a href=\"${arch}-errorlogs/$(basename $(dirname ${err}))/$(basename ${err})\">$ver</a></td>" >> $of
+ else
+ echo "<td><a href=\"${arch}-${branch}-latest/$ver.log\">$ver</a></td>" >> $of
+ fi
# echo "<td align=\"right\">$affby</td><td align=\"right\">$4 Kb</td>" >> $of
# echo "<td><a href=\"http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/$5\">$5</a></td>" >> $of