]> git.pld-linux.org Git - packages/autoconf.git/blame - autoconf-2.69-perl-5.22-autoscan.patch
- enhanced tests patch to fix failures with mksh
[packages/autoconf.git] / autoconf-2.69-perl-5.22-autoscan.patch
CommitLineData
35b0d6f2
AM
1From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
2From: Paul Eggert <eggert@cs.ucla.edu>
3Date: Tue, 29 Jan 2013 13:46:48 -0800
4Subject: [PATCH] autoscan: port to perl 5.17
5
6* bin/autoscan.in (scan_sh_file): Escape '{'. This avoids a
7feature that is deprecated in Perl 5.17. Reported by Ray Lauff in
8<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
9---
10 bin/autoscan.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/bin/autoscan.in b/bin/autoscan.in
14index 993a750..db1df79 100644
15--- a/bin/autoscan.in
16+++ b/bin/autoscan.in
17@@ -358,7 +358,7 @@ sub scan_sh_file ($)
18 {
19 # Strip out comments and variable references.
20 s/#.*//;
21- s/\${[^\}]*}//g;
22+ s/\$\{[^\}]*}//g;
23 s/@[^@]*@//g;
24
25 # Tokens in the code.
26--
272.1.0
28
This page took 0.058944 seconds and 4 git commands to generate.