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