summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-29 13:46:48 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-29 13:47:29 -0800
commite5654a5591884b92633c7785f325626711e7f7aa (patch)
treeb69c3fc045ff8804305523254cbc6cd7433c7531
parentc3d301efd6ffe1d908f5eb4f2b9df5380b8b2c3e (diff)
downloadautoconf-e5654.tar.gz
autoscan: port to perl 5.17
* bin/autoscan.in (scan_sh_file): Escape '{'. This avoids a feature that is deprecated in Perl 5.17. Reported by Ray Lauff in <http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
-rw-r--r--bin/autoscan.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/autoscan.in b/bin/autoscan.in
index 993a750..db1df79 100644
--- a/bin/autoscan.in
+++ b/bin/autoscan.in
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
{
# Strip out comments and variable references.
s/#.*//;
- s/\${[^\}]*}//g;
+ s/\$\{[^\}]*}//g;
s/@[^@]*@//g;
# Tokens in the code.