diff options
author | Yang Tse <yangsita@gmail.com> | 2011-08-05 21:24:59 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-08-05 21:24:59 +0200 |
commit | 40e1d03c5d71843a155d83d53571b399704a0cdb (patch) | |
tree | 0f36ce06610b96f63cee396d7423583e12356cd8 /lib/checksrc.pl | |
parent | c95fec5e5bd0c4eb439406c90e1954570ab080db (diff) |
checksrc.pl: add quotes to var
Diffstat (limited to 'lib/checksrc.pl')
-rwxr-xr-x | lib/checksrc.pl | 2 |
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); |