diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-08-30 14:03:49 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-08-30 14:03:49 -0500 |
commit | 5ca399e0e9ab12063f15c4ab14443ba762877634 (patch) | |
tree | e4f47f487b7e9f8cbbcd63a8a52b28ece7d73f8d /sboupgrade | |
parent | dd031840dcb5d295b26b15ad7aac694b1d300072 (diff) | |
download | sbotools2-5ca399e0e9ab12063f15c4ab14443ba762877634.tar.xz |
bugfixes++
Diffstat (limited to 'sboupgrade')
-rwxr-xr-x | sboupgrade | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -63,6 +63,7 @@ if (exists $options{j}) { ($options{j} =~ /^\d+$/ || $options{j} eq 'FALSE'); } my $jobs = exists $options{j} ? $options{j} : $config{JOBS}; +$jobs = 0 if $jobs eq 'FALSE'; show_usage and exit 1 unless exists $ARGV[0]; @@ -89,7 +90,9 @@ sub get_readme_path ($) { sub get_inst_names ($) { exists $_[0] or script_error 'get_inst_names requires an argument.'; my $inst = shift; - return [$$_{name} for @$inst]; + my @installed; + push @installed, $$_{name} for @$inst; + return \@installed; } # pull list of requirements, offer to install them |