]> git.donarmstrong.com Git - wannabuild.git/commitdiff
another sync with reality
authorAndreas Barth <aba@not.so.argh.org>
Sun, 21 Feb 2010 19:13:00 +0000 (19:13 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Sun, 21 Feb 2010 19:13:00 +0000 (19:13 +0000)
bin/wanna-build

index 3f11f6568636de4b843738a95aa8812f8a409921..56998c3d3f894338885a41a701c522fb9ceec5b6 100755 (executable)
@@ -672,7 +672,7 @@ sub add_one_attempted {
                return;
        }
 
-       if ($pkg->{'state'} ne "Building" ) {
+       if (($pkg->{'state'} ne "Building") && ($pkg->{'state'} ne "Build-Attempted")) {
                print "$name: not taken for building (state is $pkg->{'state'}). ",
                          "Skipping.\n";
                return;
@@ -704,7 +704,7 @@ sub add_one_built {
                return;
        }
 
-       if ($pkg->{'state'} ne "Building" ) {
+        if (($pkg->{'state'} ne "Building") && ($pkg->{'state'} ne "Build-Attempted")) {
                print "$name: not taken for building (state is $pkg->{'state'}). ",
                          "Skipping.\n";
                return;