sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 3ed002ece06cc7ec12cedb23b0c93d6d3ec0df07
parent aec4fa7100b77112f2e74def10e7ccb55da097b0
Author: Jacob Pipkin <d4wnr4z0r@yahoo.com>
Date:   Tue,  8 May 2012 02:33:12 -0500

more of the same...

Diffstat:
MSBO-Lib/lib/SBO/Lib.pm | 10+++-------
1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -314,10 +314,11 @@ sub get_sbo_location { sub split_line { script_error('split_line requires three arguments') unless exists $_[2]; my ($line,$pattern,$index) = @_; + my @split; if ($pattern eq ' ') { - my @split = split("$pattern",$line); + @split = split("$pattern",$line); } else { - my @split = split(/$pattern/,$line); + @split = split(/$pattern/,$line); } return clean_line($split[$index]); } @@ -327,11 +328,6 @@ sub split_equal_one { return split_line($_[0],'=',1); } -sub check_multilib { - return 1 if -f '/etc/profile.d/32dev.sh'; - return; -} - sub find_download_info { script_error('find_download_info requires four arguments.') unless exists $_[3];