]> Savannah Git Hosting - gnulib.git/commitdiff
update-copyright: fix test failure with perl >= 5.22
authorFriedrich Haubensak <hsk@fli-leibniz.de>
Thu, 2 Jul 2015 13:36:33 +0000 (14:36 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 2 Jul 2015 13:38:29 +0000 (14:38 +0100)
* build-aux/update-copyright: Escape a literal left curly bracket,
required with perl >= 5.22

ChangeLog
build-aux/update-copyright

index e6992f4465e1243670267def20f2228ee5fac4ed..8893c75d278ab93b9b25eb319e66734b2fdb1a53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-02  Friedrich Haubensak  <hsk@fli-leibniz.de>
+
+       update-copyright: fix test failure with perl >= 5.22 (trivial)
+       * build-aux/update-copyright: Escape a literal left curly bracket,
+       required with perl >= 5.22
+
 2015-07-02  Daiki Ueno  <ueno@gnu.org>
 
        u{16,32}-strstr-tests: relax timeout condition
index 4eb4b93ea6c4b6aa57d1ecba252f3a0520e11b33..8cc36e22d59c48766a533745bc8d7d69e58dcd4d 100755 (executable)
@@ -124,7 +124,7 @@ use strict;
 use warnings;
 
 my $copyright_re = 'Copyright';
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|\\\\\(co|&copy;)';
+my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|&copy;)';
 my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
 $holder ||= 'Free Software Foundation, Inc.';
 my $prefix_max = 5;