aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-08-29 16:14:52 +0800
committerasami <asami@FreeBSD.org>2000-08-29 16:14:52 +0800
commit0480e8c62fbc6881cf40e45c74c3af227c6d9298 (patch)
tree2c0254e1ad4059b70d05313d900319ff8bad1929 /Tools/portbuild
parent26b1bce5932cab774cd6b32afc1b5938a51422a5 (diff)
downloadfreebsd-ports-gnome-0480e8c62fbc6881cf40e45c74c3af227c6d9298.tar.gz
freebsd-ports-gnome-0480e8c62fbc6881cf40e45c74c3af227c6d9298.tar.zst
freebsd-ports-gnome-0480e8c62fbc6881cf40e45c74c3af227c6d9298.zip
Handle three branches instead of two. Use a for loop instead of just
listing calls to comparelogs etc., so we can expand it into the future (no, not 4 branches, but maybe another architecture).
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/dologs25
1 files changed, 13 insertions, 12 deletions
diff --git a/Tools/portbuild/scripts/dologs b/Tools/portbuild/scripts/dologs
index 3f21bc9fd334..1a1c94c4e21d 100755
--- a/Tools/portbuild/scripts/dologs
+++ b/Tools/portbuild/scripts/dologs
@@ -1,16 +1,17 @@
#!/bin/sh
home=/a/asami/portbuild/errorlogs
scripts=/a/asami/portbuild/scripts
-dir1=3-latest
-dir2=4-latest
-dir3=3-full
-dir4=4-full
-cd $home/$dir1 && ${scripts}/processlogs
-cd $home/$dir2 && ${scripts}/processlogs
-cd $home && ${scripts}/comparelogs $dir1 $dir2
-cd $home && ${scripts}/comparelogs $dir2 $dir1
-cd $home && ${scripts}/comparelogs $dir3 $dir4
-cd $home && ${scripts}/comparelogs $dir4 $dir3
-cd $home && ${scripts}/bothlogs $dir1 $dir2
-cd $home && ${scripts}/bothlogs $dir3 $dir4
+for ver in full latest; 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