Skip to content

Commit 539d387

Browse files
committed
Fix missing regex slash that caused perltidy to get confused on
copyright.pl. Backpatch to 9.2.
1 parent 042d9ff commit 539d387

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/tools/copyright.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ sub wanted
3737

3838
# skip file names with binary extensions
3939
# How are these updated? bjm 2012-01-02
40-
return
41-
if (
42-
$_ =~ m/\.(ico|bin)$);
40+
return if ($_ =~ m/\.(ico|bin)$/);
4341

44-
my @lines;
45-
tie @lines, "Tie::File", $File::Find::name;
42+
my @lines;
43+
tie @lines, "Tie::File", $File::Find::name;
4644

47-
foreach my $line (@lines) {
48-
# We only care about lines with a copyright notice.
49-
next unless $line =~ m/$cc . *$pgdg /;
45+
foreach my $line (@lines)
46+
{
47+
48+
# We only care about lines with a copyright notice.
49+
next unless $line =~ m/$cc . *$pgdg /;
5050

5151
# We stop when we've done one substitution. This is both for
5252
# efficiency and, at least in the case of this program, for

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy