Blame SOURCES/autoconf-2.69-perl-5.22-autoscan.patch

1a828e
From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
1a828e
From: Paul Eggert <eggert@cs.ucla.edu>
1a828e
Date: Tue, 29 Jan 2013 13:46:48 -0800
1a828e
Subject: [PATCH] autoscan: port to perl 5.17
1a828e
1a828e
* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
1a828e
feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
1a828e
<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
1a828e
---
1a828e
 bin/autoscan.in | 2 +-
1a828e
 1 file changed, 1 insertion(+), 1 deletion(-)
1a828e
1a828e
diff --git a/bin/autoscan.in b/bin/autoscan.in
1a828e
index 993a750..db1df79 100644
1a828e
--- a/bin/autoscan.in
1a828e
+++ b/bin/autoscan.in
1a828e
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
1a828e
     {
1a828e
       # Strip out comments and variable references.
1a828e
       s/#.*//;
1a828e
-      s/\${[^\}]*}//g;
1a828e
+      s/\$\{[^\}]*}//g;
1a828e
       s/@[^@]*@//g;
1a828e
 
1a828e
       # Tokens in the code.
1a828e
-- 
1a828e
2.1.0
1a828e