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

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