]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Update graph tool to use the common place of current arches in unstable.
authorKurt Roeckx <kurt@roeckx.be>
Fri, 8 Apr 2011 20:51:00 +0000 (20:51 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Fri, 8 Apr 2011 20:51:00 +0000 (20:51 +0000)
bin/wb-graph

index fb326e8e433edc62fdf3402e895f27ae53bcba3b..24870d09a9f60f3a9009a3fb3dd3bf4d5239b435 100755 (executable)
@@ -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;