aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/portbuild')
-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 f95d96de162..8194e080fc2 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}