mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Tweak compile_info_command()
- Fix comment - use $globals{VERSION} for the version number Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d959fd4445
commit
ccfa181a6d
@ -597,7 +597,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate date_command()
|
# Generate info_command()
|
||||||
#
|
#
|
||||||
sub compile_info_command() {
|
sub compile_info_command() {
|
||||||
my $date = localtime;
|
my $date = localtime;
|
||||||
@ -607,7 +607,7 @@ sub compile_info_command() {
|
|||||||
"# Echo the date and time when this script was compiled along with the Shorewall version",
|
"# Echo the date and time when this script was compiled along with the Shorewall version",
|
||||||
"#",
|
"#",
|
||||||
"info_command() {" ,
|
"info_command() {" ,
|
||||||
qq( echo "compiled $date by Shorewall version \$SHOREWALL_VERSION") ,
|
qq( echo "compiled $date by Shorewall version $globals{VERSION}") ,
|
||||||
"}\n" );
|
"}\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user