]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Use -A instead of --database to selected the arch
authorKurt Roeckx <kurt@roeckx.be>
Fri, 8 Apr 2011 20:52:40 +0000 (20:52 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Fri, 8 Apr 2011 20:52:40 +0000 (20:52 +0000)
bin/wb-graph

index 24870d09a9f60f3a9009a3fb3dd3bf4d5239b435..1ef1b1808dfb41b5ee83221830434b6f6ab688e5 100755 (executable)
@@ -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$/) {