From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 29 Jan 2013 13:46:48 -0800 Subject: [PATCH] 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 . --- bin/autoscan.in | 2 +- 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. -- 1.7.2.5