X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=blobdiff_plain;f=bin%2Fwb-graph;h=743c1af29a76a7885fe3d9e065f91bdd2a021b0b;hp=fb326e8e433edc62fdf3402e895f27ae53bcba3b;hb=e0bd52fb8cf3c44ecd1e425d20613219b04963d6;hpb=4572e2d58812a9c5f422a8c2e2401c441d528bb7 diff --git a/bin/wb-graph b/bin/wb-graph index fb326e8..743c1af 100755 --- a/bin/wb-graph +++ b/bin/wb-graph @@ -42,8 +42,8 @@ foreach $arch (@archs) { my($lastmsg, %n_state, $total, %n_builder, $pu_total); $pu_total = 0; -$n_state{"Installed"} = 0; -open( my $pipe, '-|', "wanna-build --database=$arch/build-db --dist=$dist --list=all" ) +$n_state{"Installed"} = 0; +open( my $pipe, '-|', "wanna-build -A $arch --dist=$dist --list=all" ) or die "Cannot spawn wanna-build: $!\n"; while( <$pipe> ) { if (/^Database for $dist doesn't exist$/) { @@ -69,6 +69,7 @@ if ($?) { print ", 0, 0"; } else { # $total -= $n_state{"Not-For-Us"}; + $total -= $n_state{"Auto-Not-For-Us"}; if ( $previously_built ) { print ", ".$n_state{"Installed"}.", ".$pu_total; } else {