32 lines
711 B
Bash
Executable file
32 lines
711 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} 4-$ver 5-$ver
|
|
done
|
|
|
|
rm -f $lock
|