aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 81a796f..6570bda 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -710,7 +710,8 @@ sub get_src_dir {
my $found = 0;
seek $fh, 0, 0;
SECOND: while (my $line = <$fh>) {
- if ($line =~ /$ls/) {
+ chomp ($line);
+ if ($line eq $ls) {
$found++;
last SECOND;
}