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

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