diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 05:04:16 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 05:04:16 +0000 |
commit | dda0014b143d9d39cd4167bb95f7271e5e406366 (patch) | |
tree | deaea25dd444558cea643a997eba24c597cd50e8 /Tools | |
parent | First cut at a script to process the logfile maintained by 'buildsuccess' (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=73925
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/dologs | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Tools/portbuild/scripts/dologs b/Tools/portbuild/scripts/dologs index d16c02ebcd9c..94038e7a1d7f 100755 --- a/Tools/portbuild/scripts/dologs +++ b/Tools/portbuild/scripts/dologs @@ -1,8 +1,9 @@ #!/bin/sh pb=/var/portbuild +arch=$1 -. ${pb}/portbuild.conf +. ${pb}/${arch}/portbuild.conf home=${pb}/errorlogs scripts=${pb}/scripts @@ -11,20 +12,21 @@ lock=$home/lock if [ -f $lock ]; then exit; fi -touch $lock +echo ${arch} > $lock for ver in latest full; do for num in 4 4-exp 5; do - cd $home/$num-$ver && ${scripts}/processlogs + 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/$num-$ver-logs && ${scripts}/processlogs2 + cd $home/$arch-$num-$ver-logs && ${scripts}/processlogs2 done - for num in 4-exp 5; do - cd $home && ${scripts}/comparelogs $num-$ver 4-$ver - cd $home && ${scripts}/comparelogs 4-$ver $num-$ver - done - cd $home && ${scripts}/bothlogs [45]-$ver +# 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 |