sbotools2

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

commit ed1be9adade168b666f21bce0669cfe399cbe8db
parent 60a8418ff890ca3028f2db59010334f66a7c7c56
Author: Jacob Pipkin <j@dawnrazor.net>
Date:   Fri, 29 Jun 2012 08:49:21 -0500

fixed bug in sbofind, using eq where = belonged

Diffstat:
Msbofind | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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';