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