aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2008-06-11 13:25:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2008-06-11 13:25:49 +0000
commitfce1fcb22a432bf61411d1bbde15032e1afc3452 (patch)
treed35ce9acfae844704814cba8615a4a2f78d4a5e7
parentfdbc5869f0bb879d9a311b47ec3727d5dd080a37 (diff)
downloadports-fce1fcb22a432bf61411d1bbde15032e1afc3452.tar.gz
ports-fce1fcb22a432bf61411d1bbde15032e1afc3452.zip
Notes
-rwxr-xr-xTools/portbuild/scripts/dologs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/dologs b/Tools/portbuild/scripts/dologs
index 95ad41e2f96a..eb1182ebc66a 100755
--- a/Tools/portbuild/scripts/dologs
+++ b/Tools/portbuild/scripts/dologs
@@ -10,11 +10,14 @@ scripts=${pb}/scripts
for ver in latest full; do
for num in 5 6 6-exp 6-exp2 7 7-exp 8 8-exp; do
- cd $home/$arch-$num-$ver && ${scripts}/processlogs ${arch}
- cd ${pb}/${arch}/${num} && ${scripts}/processfail ${arch} ${num}
+ dir=$home/$arch-$num-$ver
+ test -d $dir && cd $dir && ${scripts}/processlogs ${arch}
+ dir=${pb}/${arch}/${num}
+ test -d $dir && cd $dir && ${scripts}/processfail ${arch} ${num}
done
for num in 5 6 6-exp 6-exp2 7 7-exp 8 8-exp; do
- cd $home/$arch-$num-$ver-logs && ${scripts}/processlogs2
+ dir=$home/$arch-$num-$ver-logs
+ test -d $dir && cd $dir && ${scripts}/processlogs2
done
# for num in 5 6 6-exp 7; do
# cd $home && ${scripts}/comparelogs ${arch} $num-$ver 4-$ver