From: Bruce Momjian Date: Fri, 6 Jul 2012 14:57:08 +0000 (-0400) Subject: Fix spacing in copyright.pl after being run with missing regex slash X-Git-Tag: REL9_2_BETA3~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06850473fb7f8ef0b8be31ec4602fcc161ad0b36;p=thirdparty%2Fpostgresql.git Fix spacing in copyright.pl after being run with missing regex slash (now added). Backpatch to 9.2. --- diff --git a/src/tools/copyright.pl b/src/tools/copyright.pl index 524f285b6a9..932f0a2854f 100755 --- a/src/tools/copyright.pl +++ b/src/tools/copyright.pl @@ -46,7 +46,7 @@ sub wanted { # We only care about lines with a copyright notice. - next unless $line =~ m/$cc . *$pgdg /; + next unless $line =~ m/$cc.*$pgdg/; # We stop when we've done one substitution. This is both for # efficiency and, at least in the case of this program, for