From: Bruce Momjian <bruce@momjian.us>
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_3_BETA1~1227
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9eb808bf2e5f0ab5cfd1dc7410f3c457a18f6d1;p=postgresql

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 a55228d6ec..26343af97d 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