diff options
| -rwxr-xr-x | sbofind | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@  use 5.16.0;  use strict;  use warnings FATAL => 'all'; -use SBO::Lib qw/ slackbuilds_or_fetch script_error open_read get_build_queue %config $slackbuilds_txt $repo_path show_version /; +use SBO::Lib qw/ slackbuilds_or_fetch script_error open_read get_build_queue %config $slackbuilds_txt $repo_path show_version in /;  use File::Basename;  use Getopt::Long qw(:config bundling); @@ -118,7 +118,7 @@ sub perform_search {  		opendir(my $dh, $config{LOCAL_OVERRIDES});  		while (my $dir = readdir($dh)) {  			next if $local{$dir}; -			if ($dir =~ /\Q$search_arg\E/) { +			if ($dir =~ /\Q$search_arg\E/ or in($dir, @names)) {  				push @findings, {name => $dir, location => "$config{LOCAL_OVERRIDES}/$dir", local => 1 };  			}  		}  | 
