forked from extern/shorewall_code
Correct fix for Tuomo's problem
This commit is contained in:
parent
f5d06024fc
commit
965ab0257f
@ -2961,7 +2961,7 @@ sub get_params() {
|
|||||||
$params{$1} = $2 unless $1 eq '_';
|
$params{$1} = $2 unless $1 eq '_';
|
||||||
} elsif ( /^export (.*?)="(.*)$/ ) {
|
} elsif ( /^export (.*?)="(.*)$/ ) {
|
||||||
$params{$variable=$1} = $2 eq '"' ? '' : "${2}\n";
|
$params{$variable=$1} = $2 eq '"' ? '' : "${2}\n";
|
||||||
} elsif ( /^export ([^\s=])\s*$/ || /^export (.*)=""$/ ) {
|
} elsif ( /^export ([^\s=]+)\s*$/ || /^export (.*)=""$/ ) {
|
||||||
$params{$1} = '';
|
$params{$1} = '';
|
||||||
} else {
|
} else {
|
||||||
if ($variable) {
|
if ($variable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user