summaryrefslogtreecommitdiff
path: root/Tools/portbuild/scripts/dologs
blob: 54f1b773c88b9b4bf153e5b7fcce6e951443e727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# $FreeBSD$

arch=$1
versions="latest full"

pb=/var/portbuild

. ${pb}/${arch}/portbuild.conf

home=${pb}/errorlogs
scripts=${pb}/scripts

for version in ${versions}; do
  for branch in ${branches}; do
    dir=$home/$arch-$branch-$version
    test -d $dir && cd $dir && ${scripts}/processlogs ${arch}
    dir=${pb}/${arch}/${branch}
    test -d $dir && cd $dir && ${scripts}/processfail ${arch} ${branch}
  done
  for branch in ${branches}; do
    dir=$home/$arch-$branch-$version-logs
    test -d $dir && cd $dir && ${scripts}/processlogs2
  done
done