forked from extern/shorewall_code
Revert to 'env'-based get_params()
This commit is contained in:
parent
d0e37eba5e
commit
a67364c07d
@ -2906,7 +2906,7 @@ sub get_params() {
|
||||
fatal_error "Processing of $fn failed" if $?;
|
||||
|
||||
for ( @params ) {
|
||||
if ( /^export (.*?)='(.*)'$/ ) {
|
||||
if ( /^(.*?)=(.*)$/ ) {
|
||||
$params{$1} = $2 unless $1 eq '_';
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ set -a
|
||||
|
||||
set +a
|
||||
|
||||
export -p
|
||||
env
|
||||
|
@ -17,7 +17,7 @@ VI. PROBLEMS CORRECTED AND NEW FEATURES IN PRIOR RELEASES
|
||||
|
||||
1) If the output of 'env' contained a multi-line value, then
|
||||
compilation failed with an Internal Error. The code has been
|
||||
changed to ignore exported symbols with multi-line values.
|
||||
changed to ignore all but the first line of a multi-line value.
|
||||
|
||||
4.4.15
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user