aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-10-25 12:28:07 +0800
committerkris <kris@FreeBSD.org>2004-10-25 12:28:07 +0800
commitf42341260383759fdaab0fae409315168c6fb86b (patch)
tree52675c3e522cde2f83c429b8ba6fb5ba3b53f01f /Tools/portbuild
parent8e8455057b291574be4c990e1024c627754bb11a (diff)
downloadfreebsd-ports-gnome-f42341260383759fdaab0fae409315168c6fb86b.tar.gz
freebsd-ports-gnome-f42341260383759fdaab0fae409315168c6fb86b.tar.zst
freebsd-ports-gnome-f42341260383759fdaab0fae409315168c6fb86b.zip
Clean up the 'latest error log' symlink when the build is successful.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/buildsuccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/buildsuccess b/Tools/portbuild/scripts/buildsuccess
index ab5eba759d4d..a87c4b811a38 100755
--- a/Tools/portbuild/scripts/buildsuccess
+++ b/Tools/portbuild/scripts/buildsuccess
@@ -30,3 +30,7 @@ if grep -q "^${portloc}|" failure; then
grep -v "^${portloc}|" failure > failure.new
mv failure.new failure
fi
+
+if [ -L ${pb}/${arch}/${branch}/latest/${portloc} ]; then
+ rm -f ${pb}/${arch}/${branch}/latest/${portloc}
+fi