From 50075d303d48d16721af650c8ff6bbe363ae5b77 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Fri, 8 Apr 2011 20:52:40 +0000 Subject: [PATCH] Use -A instead of --database to selected the arch --- bin/wb-graph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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$/) { -- 2.39.5