mirror of https://github.com/schoebel/mars
infra: fix transitive option propagation in gen_config.pl
This commit is contained in:
parent
3a6ff3d2c8
commit
646dbfeed8
|
@ -100,6 +100,7 @@ foreach my $opt (@default) {
|
||||||
print qq%
|
print qq%
|
||||||
/* CONFIG_$optname overridden by ENVIRONMENT */%;
|
/* CONFIG_$optname overridden by ENVIRONMENT */%;
|
||||||
$optval = $setByEnv{$optname};
|
$optval = $setByEnv{$optname};
|
||||||
|
$opt->{value} = $optval;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined($optname) || !defined($optval)) {
|
if (!defined($optname) || !defined($optval)) {
|
||||||
|
|
Loading…
Reference in New Issue