From: Paul Eggert Date: Tue, 29 Jan 2013 21:46:48 +0000 (-0800) Subject: autoscan: port to perl 5.17 X-Git-Tag: v2.69b~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5654a5591884b92633c7785f325626711e7f7aa;p=thirdparty%2Fautoconf.git 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 . --- diff --git a/bin/autoscan.in b/bin/autoscan.in index 993a7502..db1df793 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.