Kaydet (Commit) a5fd221e authored tarafından Vladimir Glazunov's avatar Vladimir Glazunov

#i107077# remove unnecessary condition

üst 3a7f6569
...@@ -1882,20 +1882,16 @@ sub build_dependent { ...@@ -1882,20 +1882,16 @@ sub build_dependent {
start_child($child_nick, $dependencies_hash); start_child($child_nick, $dependencies_hash);
return 1 if ($build_all_parents); return 1 if ($build_all_parents);
} else { } else {
if (!$build_all_parents && (scalar keys %$dependencies_hash)) { return 0 if ($build_all_parents);
if (scalar keys %$dependencies_hash) {
handle_dead_children(1); handle_dead_children(1);
}; };
return 0 if ($build_all_parents);
}; };
$child_nick = pick_prj_to_build($dependencies_hash); $child_nick = pick_prj_to_build($dependencies_hash);
} while (scalar keys %$dependencies_hash || $child_nick); } while (scalar keys %$dependencies_hash || $child_nick);
while (children_number()) { while (children_number()) {
# print "#### 1902: Starting waiting for dead child\n";
handle_dead_children(1); handle_dead_children(1);
}; };
# if (defined $last_module) {
# $build_is_finished{$last_module}++ if (!defined $modules_with_errors{$last_module});
# };
if (defined $modules_with_errors{$dependencies_hash}) { if (defined $modules_with_errors{$dependencies_hash}) {
cancel_build(); cancel_build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment