]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
autoscan: port to perl 5.17
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Jan 2013 21:46:48 +0000 (13:46 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Jan 2013 21:47:29 +0000 (13:47 -0800)
* 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>.

bin/autoscan.in

index 993a750202603a0fb0d57071987a3226bf7ca73f..db1df79309bd19bf700dcf7d37a086b86ccb8e67 100644 (file)
@@ -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.