aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-11-04 10:21:38 -0600
committerJacob Pipkin <j@dawnrazor.net>2012-11-04 10:21:38 -0600
commita486cef99ec7ad33329e1671533b28cf06980bae (patch)
treeb6cbb4eb3c4456908b046e3eeafe246bcc758029
parent04363616393265d572fb59181a1957f15a1124c1 (diff)
downloadsbotools2-a486cef99ec7ad33329e1671533b28cf06980bae.tar.xz
@sbos is an array, dont call it as an array ref
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 92c3f4d..adea1b3 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -230,7 +230,7 @@ sub get_sbo_location {
}
my %locations;
my $fh = open_read $slackbuilds_txt;
- for my $sbo (@$sbos) {
+ for my $sbo (@sbos) {
my $regex = qr#LOCATION:\s+\.(/[^/]+/\Q$sbo\E)$#;
while (my $line = <$fh>) {
if (my $loc = ($line =~ $regex)[0]) {