mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Use 'here documents' rather than single quotes.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f7322a674d
commit
e4bcc12301
@ -3863,14 +3863,14 @@ sub update_config_file( $ ) {
|
|||||||
if ( defined $rawconfig{$_} ) {
|
if ( defined $rawconfig{$_} ) {
|
||||||
|
|
||||||
unless ( $heading_printed ) {
|
unless ( $heading_printed ) {
|
||||||
print $output
|
print $output <<'EOF';
|
||||||
'
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# U N D O C U M E N T E D
|
# U N D O C U M E N T E D
|
||||||
# O P T I O N S
|
# O P T I O N S
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
';
|
EOF
|
||||||
$heading_printed = 1;
|
$heading_printed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3884,14 +3884,14 @@ sub update_config_file( $ ) {
|
|||||||
if ( supplied $rawconfig{$_} ) {
|
if ( supplied $rawconfig{$_} ) {
|
||||||
if ( lc $rawconfig{$_} ne $deprecated{$_} ) {
|
if ( lc $rawconfig{$_} ne $deprecated{$_} ) {
|
||||||
unless ( $heading_printed ) {
|
unless ( $heading_printed ) {
|
||||||
print $output
|
print $output <<'EOF';
|
||||||
'
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# D E P R E C A T E D
|
# D E P R E C A T E D
|
||||||
# O P T I O N S
|
# O P T I O N S
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
';
|
EOF
|
||||||
$heading_printed = 1;
|
$heading_printed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user