aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-06-29 08:49:21 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-06-29 08:49:21 -0500
commited1be9adade168b666f21bce0669cfe399cbe8db (patch)
tree232e372a836d33b62ed70be013883c6a5fc579b0
parent60a8418ff890ca3028f2db59010334f66a7c7c56 (diff)
downloadsbotools2-ed1be9adade168b666f21bce0669cfe399cbe8db.tar.xz
fixed bug in sbofind, using eq where = belonged
-rwxr-xr-xsbofind2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbofind b/sbofind
index 6f23587..5e8931d 100755
--- a/sbofind
+++ b/sbofind
@@ -57,7 +57,7 @@ my $loc_regex = qr/LOCATION:\s+(.*)$/;
my $fh = open_read ("$config{SBO_HOME}/SLACKBUILDS.TXT");
FIRST: while (my $line = <$fh>) {
if ($found eq 'FALSE') {
- $found eq 'TRUE', next FIRST if $name = ($line =~ $name_regex)[0];
+ $found = 'TRUE', next FIRST if $name = ($line =~ $name_regex)[0];
} else {
if (my ($location) = ($line =~ $loc_regex)[0]) {
$found = 'FALSE';