diff options
author | kris <kris@FreeBSD.org> | 2004-10-25 12:28:07 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-10-25 12:28:07 +0800 |
commit | f42341260383759fdaab0fae409315168c6fb86b (patch) | |
tree | 52675c3e522cde2f83c429b8ba6fb5ba3b53f01f /Tools/portbuild | |
parent | 8e8455057b291574be4c990e1024c627754bb11a (diff) | |
download | freebsd-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-x | Tools/portbuild/scripts/buildsuccess | 4 |
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 |