aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-05 21:24:59 +0200
committerYang Tse <yangsita@gmail.com>2011-08-05 21:24:59 +0200
commit40e1d03c5d71843a155d83d53571b399704a0cdb (patch)
tree0f36ce06610b96f63cee396d7423583e12356cd8 /lib
parentc95fec5e5bd0c4eb439406c90e1954570ab080db (diff)
checksrc.pl: add quotes to var
Diffstat (limited to 'lib')
-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);