mirror of
https://gitlab.com/shorewall/code.git
synced 2025-03-07 19:11:51 +01:00
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 '_';
|
||||
} elsif ( /^export (.*?)="(.*)$/ ) {
|
||||
$params{$variable=$1} = $2 eq '"' ? '' : "${2}\n";
|
||||
} elsif ( /^export ([^\s=])\s*$/ || /^export (.*)=""$/ ) {
|
||||
} elsif ( /^export ([^\s=]+)\s*$/ || /^export (.*)=""$/ ) {
|
||||
$params{$1} = '';
|
||||
} else {
|
||||
if ($variable) {
|
||||
|
Loading…
Reference in New Issue
Block a user