aboutsummaryrefslogtreecommitdiff
path: root/sbofind
diff options
context:
space:
mode:
Diffstat (limited to 'sbofind')
-rwxr-xr-xsbofind2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbofind b/sbofind
index 22cff8a..8daf9e4 100755
--- a/sbofind
+++ b/sbofind
@@ -93,7 +93,7 @@ sub perform_search {
opendir(my $dh, $config{LOCAL_OVERRIDES});
while (my $dir = readdir($dh)) {
next if $local{$dir};
- if ($dir =~ /$search/) {
+ if ($dir =~ /\Q$search\E/) {
push @findings, {name => $dir, location => "$config{LOCAL_OVERRIDES}/$dir", local => 1 };
}
}