summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-10-25 04:27:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-10-25 04:27:02 +0000
commit0472be83f9631ad8e2f647acce401185a7c4775f (patch)
tree469a37ca07790797edf185d29214d12052c20968 /Tools
parentadd OSVERSION-depend post-patch target (diff)
When a port build fails, create a symlink to the error log under
${arch}/${branch}/latest/${portdir}. We will use this in the processfail script, so that the "new package build errors" webpages do not have out-of-date links but instead link to the most recent copy of the build error.
Notes
Notes: svn path=/head/; revision=120101
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/buildfailure7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildfailure b/Tools/portbuild/scripts/buildfailure
index f95d96de1624..8194e080fc29 100755
--- a/Tools/portbuild/scripts/buildfailure
+++ b/Tools/portbuild/scripts/buildfailure
@@ -46,6 +46,7 @@ else
(echo "${portloc}|${pkgbase}|${pkgname}|${date}|${date}|1" >> failure) || cleanup
fi
-
-
-
+link=${pb}/${arch}/${branch}/latest/${portloc}
+mkdir -p $(dirname ${link})
+errorloc=$(realpath ${pb}/${arch}/${branch}/errors/${pkgname}.log)
+ln -sf ${errorloc} ${link}