forked from extern/shorewall_code
Sort emitted param settings in export_params()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8561bb77ee
commit
e8875ae50b
@ -3476,11 +3476,13 @@ sub add_param( $$ ) {
|
|||||||
sub export_params() {
|
sub export_params() {
|
||||||
my $count = 0;
|
my $count = 0;
|
||||||
|
|
||||||
while ( my ( $param, $value ) = each %params ) {
|
for my $param ( sort keys %params ) {
|
||||||
#
|
#
|
||||||
# Don't export params added by the compiler
|
# Don't export params added by the compiler
|
||||||
#
|
#
|
||||||
next if exists $compiler_params{$param};
|
next if exists $compiler_params{$param};
|
||||||
|
|
||||||
|
my $value = $params{$param};
|
||||||
#
|
#
|
||||||
# Values in %params are generated from the output of 'export -p'.
|
# Values in %params are generated from the output of 'export -p'.
|
||||||
# The different shells have different conventions for delimiting
|
# The different shells have different conventions for delimiting
|
||||||
|
Loading…
Reference in New Issue
Block a user