Avoid split_line2 confusion when processing a raw line

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-05-10 09:30:02 -07:00
parent 067f435ac5
commit fc91648315
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2529,6 +2529,10 @@ sub split_rawline2( $$;$$$ ) {
# Delete trailing comment
#
$currentline =~ s/\s*#.*//;
#
# Convert ${...} to $...
#
$currentline =~ s/\$\{(.*?)\}/\$$1/g;
my @result = &split_line2( @_ );