freebsd-ports/Tools/portbuild/scripts/dologs
Kris Kennaway dda0014b14 - Use ${arch} and rename html files accordingly
- Call processfail to produce 'new port failures' page
- Comment out the 'comparelogs' calls for now until I make them aware
  of architectures that don't have 4.x support
2003-01-24 05:04:16 +00:00

32 lines
707 B
Bash
Executable file

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