Always run optional steps if configured to run.
authorTodd Lyons <tlyons@exim.org>
Fri, 9 May 2014 23:23:02 +0000 (16:23 -0700)
committerTodd Lyons <tlyons@exim.org>
Fri, 9 May 2014 23:23:02 +0000 (16:23 -0700)
run_build.pl

index 2171231d95ae745851cbad97310fd7b779c4fb9f..9e68d8d05a9cae8591af780380d07aa3d30e955c 100755 (executable)
@@ -767,9 +767,9 @@ sub check_optional_step
         &&grep {$_ eq $wday} @{$oconf->{dow}});
 
     my $last_step = $last_status = find_last("$step") || 0;
         &&grep {$_ eq $wday} @{$oconf->{dow}});
 
     my $last_step = $last_status = find_last("$step") || 0;
-
-    return undef unless ($forcerun ||
-                         time >$last_step + (3600 * $oconf->{min_hours_since}));
+    ## If made it *to* these optional steps, we just run them and reset last time
+    #return undef unless ($forcerun ||
+    #                     time >$last_step + (3600 * $oconf->{min_hours_since}));
     set_last("$step") unless $nostatus;
 
     return 1;
     set_last("$step") unless $nostatus;
 
     return 1;