mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:01:55 +02:00
fix kconfig.pl split for config symbols that have "0" as value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8847 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
86af2c87cf
commit
8b102f61b3
@ -72,7 +72,7 @@ sub config_diff($$) {
|
|||||||
my %config;
|
my %config;
|
||||||
|
|
||||||
foreach my $config (keys %$cfg2) {
|
foreach my $config (keys %$cfg2) {
|
||||||
if (!$cfg1->{$config} or $cfg1->{$config} ne $cfg2->{$config}) {
|
if (!defined($cfg1->{$config}) or $cfg1->{$config} ne $cfg2->{$config}) {
|
||||||
$config{$config} = $cfg2->{$config};
|
$config{$config} = $cfg2->{$config};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user