From b0b4b1f1eefe6f7c51f6b6891f4c79c0d49ff005 Mon Sep 17 00:00:00 2001 From: Todd Lyons Date: Fri, 9 May 2014 16:23:02 -0700 Subject: [PATCH] Always run optional steps if configured to run. --- run_build.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run_build.pl b/run_build.pl index 2171231..9e68d8d 100755 --- a/run_build.pl +++ b/run_build.pl @@ -767,9 +767,9 @@ sub check_optional_step &&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; -- 2.30.2