diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-06-29 08:49:21 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-06-29 08:49:21 -0500 |
commit | ed1be9adade168b666f21bce0669cfe399cbe8db (patch) | |
tree | 232e372a836d33b62ed70be013883c6a5fc579b0 | |
parent | 60a8418ff890ca3028f2db59010334f66a7c7c56 (diff) | |
download | sbotools2-ed1be9adade168b666f21bce0669cfe399cbe8db.tar.xz |
fixed bug in sbofind, using eq where = belonged
-rwxr-xr-x | sbofind | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |