aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 89f65dd..1502532 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -727,7 +727,6 @@ sub add_to_queue ($) {
my $sbo = \${$args}{NAME};
return unless $$sbo;
push @$args{QUEUE}, $$sbo;
-# unshift @$args{QUEUE}, $$sbo;
my $location = get_sbo_location ($$sbo);
return unless $location;
my $requires = get_from_info (LOCATION => $location, GET => 'REQUIRES');
@@ -757,7 +756,7 @@ sub get_build_queue {
}
# Remove duplicate entries (leaving first occurrence)
my (%seen, @build_queue);
- FIRST: for my $sb (reverse @$temp_queue) {
+ FIRST: for my $sb (@$temp_queue) {
next FIRST if $seen{$sb}++;
push @build_queue, $sb;
}