mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Re-enable '#' in quoted strings within embedded shell and perl
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
58d8ee79f8
commit
860141127a
@ -1956,7 +1956,7 @@ sub embedded_shell( $ ) {
|
||||
|
||||
my $last = 0;
|
||||
|
||||
while ( read_a_line( 0, 0, 1 ) ) {
|
||||
while ( read_a_line( 0, 0, 0 ) ) {
|
||||
last if $last = $currentline =~ s/^\s*END(\s+SHELL)?\s*;?//;
|
||||
$command .= $currentline;
|
||||
}
|
||||
@ -1990,7 +1990,7 @@ sub embedded_perl( $ ) {
|
||||
|
||||
my $last = 0;
|
||||
|
||||
while ( read_a_line( 0, 0, 1 ) ) {
|
||||
while ( read_a_line( 0, 0, 0 ) ) {
|
||||
last if $last = $currentline =~ s/^\s*END(\s+PERL)?\s*;?//;
|
||||
$command .= $currentline;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user