From: Luk Claes Date: Sat, 29 Nov 2008 10:35:21 +0000 (+0000) Subject: Fix the distributions X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=69ad4f2cbd3f6e787036df0bb513057fec448fe8 Fix the distributions --- diff --git a/bin/wanna-build-statistics b/bin/wanna-build-statistics index 70a689f..a7cb158 100755 --- a/bin/wanna-build-statistics +++ b/bin/wanna-build-statistics @@ -59,7 +59,7 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) { $dist = "stable" if $dist eq "s"; $dist = "testing" if $dist eq "t"; $dist = "unstable" if $dist eq "u"; - die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security)); + die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security oldstable oldstable-security)); } elsif (/^--$/) { last; diff --git a/bin/wb-graph b/bin/wb-graph index 1a65dbc..9419380 100755 --- a/bin/wb-graph +++ b/bin/wb-graph @@ -19,10 +19,11 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) { else { $dist = shift @ARGV; } - $dist = "stable" if $dist eq "s"; - $dist = "frozen" if $dist eq "f"; - $dist = "unstable" if $dist eq "u"; - die "Bad distribution\n" if !isin($dist, qw(stable testing unstable)); + $dist = "oldstable" if $dist eq "o"; + $dist = "stable" if $dist eq "s"; + $dist = "tesing" if $dist eq "t"; + $dist = "unstable" if $dist eq "u"; + die "Bad distribution\n" if !isin($dist, qw(oldstable stable testing unstable)); } elsif (/^--$/) { last;