uh_parser/RaptorRecipe.pm
changeset 191 890789575604
parent 186 b76adfbc6648
child 252 f593b7acdb37
--- a/uh_parser/RaptorRecipe.pm	Tue Mar 09 14:38:26 2010 +0000
+++ b/uh_parser/RaptorRecipe.pm	Tue Mar 09 15:05:22 2010 +0000
@@ -228,6 +228,10 @@
 		{
 			$recipe_info->{$attributes->{$_}->{'LocalName'}} = $attributes->{$_}->{'Value'};
 		}
+		elsif ($attributes->{$_}->{'LocalName'} eq 'forcesuccess')
+		{
+			$recipe_info->{$attributes->{$_}->{'LocalName'}} = $attributes->{$_}->{'Value'};
+		}
 	}
 }
 
@@ -235,7 +239,7 @@
 {
 	$::allbldinfs->{$recipe_info->{bldinf}} = 1;
 	
-	if ($recipe_info->{exit} =~ /failed/)
+	if ($recipe_info->{exit} =~ /failed/i || $recipe_info->{exit} =~ /retry/i && $recipe_info->{forcesuccess} =~ /FORCESUCCESS/i)
 	{
 		# normalize bldinf path
 		$recipe_info->{bldinf} = lc($recipe_info->{bldinf});