From 40e1d03c5d71843a155d83d53571b399704a0cdb Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 5 Aug 2011 21:24:59 +0200 Subject: checksrc.pl: add quotes to var --- lib/checksrc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3