From: Kurt Roeckx Date: Fri, 8 Apr 2011 20:51:00 +0000 (+0000) Subject: Update graph tool to use the common place of current arches in unstable. X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=7385765ef4c28872df38bfc3dd762ed1dc3b1a3a Update graph tool to use the common place of current arches in unstable. --- diff --git a/bin/wb-graph b/bin/wb-graph index fb326e8..24870d0 100755 --- a/bin/wb-graph +++ b/bin/wb-graph @@ -35,10 +35,9 @@ my $date=`date -u "+%m/%d/%Y %T"`; chop($date); print "$date"; -my @archs = qw(alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 amd64 sparc armel kfreebsd-amd64 kfreebsd-i386); -my $arch; +. /org/wanna-build/triggers/common -foreach $arch (@archs) { +for arch in $ARCHS_unstable; do my($lastmsg, %n_state, $total, %n_builder, $pu_total); $pu_total = 0; @@ -75,7 +74,7 @@ if ($?) { print ", ".$n_state{"Installed"}.", ".$total; } } -} +done print "\n"; exit 0;