1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/Tools/portbuild/scripts/dologs
Satoshi Asami 0d088a094b Pull in configuration variables from /var/portbuild/portbuild.conf.
/var/portbuild is the new designated home of the portbuild setup, and
is expected to be a symlink to wherever you choose to put the stuff.

Also, change reportload to use /var/portbuild to store temporary files.
Seems there are some bugs in the null mount code that make the files
inaccessible if you are using an NFS root.
2000-09-27 01:41:44 +00:00

31 lines
554 B
Bash
Executable File

#!/bin/sh
pb=/var/portbuild
. ${pb}/portbuild.conf
home=${pb}/errorlogs
scripts=${pb}/scripts
lock=$home/lock
if [ -f $lock ]; then exit; fi
touch $lock
for ver in latest full; do
for num in 3 4 5; do
cd $home/$num-$ver && ${scripts}/processlogs
done
for num in 3 4 5; do
cd $home/$num-$ver-logs && ${scripts}/processlogs2
done
for num in 3 5; do
cd $home && ${scripts}/comparelogs $num-$ver 4-$ver
cd $home && ${scripts}/comparelogs 4-$ver $num-$ver
done
cd $home && ${scripts}/bothlogs [3-5]-$ver
done
rm -f $lock