diff -rupr a/bin/autoscan.in b/bin/autoscan.in
--- a/bin/autoscan.in 2012-04-24 19:37:26.000000000 -0700
+++ b/bin/autoscan.in 2016-12-06 14:06:44.485368904 -0800
@@ -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.