diff options
| author | Jacob Pipkin <j@dawnrazor.net> | 2012-11-30 07:26:41 -0600 | 
|---|---|---|
| committer | Jacob Pipkin <j@dawnrazor.net> | 2012-11-30 07:26:41 -0600 | 
| commit | 409e298681539f4a5ac7b802377898461147259e (patch) | |
| tree | 7262f63cec59ba094cc67cda7e6453b4dfabeb3c | |
| parent | c262a5b4f50d10652b262b7b256000b2a3487a24 (diff) | |
| download | sbotools2-409e298681539f4a5ac7b802377898461147259e.tar.xz | |
do reverse the order of the build_queue when it is appropriate to do so.
| -rwxr-xr-x | sboupgrade | 5 | 
1 files changed, 4 insertions, 1 deletions
@@ -90,7 +90,10 @@ my %locations;  if ($no_reqs or $non_int) {      $build_queue = \@ARGV;  } else { -    $build_queue = get_build_queue(\@ARGV, \%warnings); +	for my $sbo (@ARGV) { +		my $queue = get_build_queue ([$sbo], \%warnings); +		push @$build_queue, reverse @$queue; +	}	  }  for my $sbo (@$build_queue) {      $locations{$sbo} = get_sbo_location ($sbo);  | 
