diff options
| author | Jacob Pipkin <j@dawnrazor.net> | 2012-11-30 02:35:03 -0600 | 
|---|---|---|
| committer | Jacob Pipkin <j@dawnrazor.net> | 2012-11-30 02:35:03 -0600 | 
| commit | d65b89b87425fd7ac86f7c0431ffd633d31b32a5 (patch) | |
| tree | a305d7e1772c9189acaaefb52258f3ae6ebf1692 | |
| parent | faac7d812d12fde07338b7878db04e297fdb2540 (diff) | |
| download | sbotools2-d65b89b87425fd7ac86f7c0431ffd633d31b32a5.tar.xz | |
stay in 80 columns, use labels for loop control
| -rwxr-xr-x | sboupgrade | 7 | 
1 files changed, 4 insertions, 3 deletions
@@ -73,7 +73,8 @@ GetOptions (  show_usage and exit 0 if $help;  show_version and exit 0 if $vers;  show_usage and exit 0 unless exists $ARGV[0]; -say "Invalid arguments: --force-reqs and --installnew can not be used together." and exit 0 if $force_reqs and $install_new; +say "Invalid arguments: --force-reqs and --installnew can not be used together." +	and exit 0 if $force_reqs and $install_new;  $noclean = $noclean eq 'TRUE' ? 1 : 0;  $distclean = $distclean eq 'TRUE' ? 1 : 0; @@ -328,7 +329,7 @@ FIRST: for my $sbo (@$build_queue) {                      push(@temp_queue, $sbo);                      say "$sbo added to install queue.";                  } else { -                    last; +                    last FIRST;                  }              }           } @@ -336,7 +337,7 @@ FIRST: for my $sbo (@$build_queue) {              push(@temp_queue, $name);              say "$name added to install queue.";            } else { -            last; +            last FIRST;          }      } else {          push(@temp_queue, $sbo);  | 
