aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
authorJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-08 02:33:12 -0500
committerJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-08 02:33:12 -0500
commit3ed002ece06cc7ec12cedb23b0c93d6d3ec0df07 (patch)
treea1a32d33e9534e295a51a0b4a0692cb21ace33ab /SBO-Lib/lib
parentaec4fa7100b77112f2e74def10e7ccb55da097b0 (diff)
downloadsbotools2-3ed002ece06cc7ec12cedb23b0c93d6d3ec0df07.tar.xz
more of the same...
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm10
1 files changed, 3 insertions, 7 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index c775df1..2c82acf 100644
--- 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];