aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/checksrc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index 1aecd988d..c3e79691c 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -79,7 +79,7 @@ if(!$file) {
}
do {
- if($wlist !~ / $file /) {
+ if("$wlist" !~ / $file /) {
my $fullname = $file;
$fullname = "$dir/$file" if ($fullname !~ '^\.?\.?/');
scanfile($fullname);