From: Kurt Roeckx Date: Fri, 8 Apr 2011 20:52:40 +0000 (+0000) Subject: Use -A instead of --database to selected the arch X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=50075d303d48d16721af650c8ff6bbe363ae5b77;p=wannabuild.git Use -A instead of --database to selected the arch --- diff --git a/bin/wb-graph b/bin/wb-graph index 24870d0..1ef1b18 100755 --- a/bin/wb-graph +++ b/bin/wb-graph @@ -41,8 +41,8 @@ for arch in $ARCHS_unstable; do 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$/) {