diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-19 20:55:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-19 20:55:05 +0000 |
commit | 8b102f61b3a8edbd850462479cc4c8c0ca80c120 (patch) | |
tree | 8a713266f00f0944fd5d2991f35229397c654711 /scripts | |
parent | 86af2c87cfa6343913b87509d578f82edeebc01d (diff) |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kconfig.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl index 53b8f11025..181b35ad47 100755 --- a/scripts/kconfig.pl +++ b/scripts/kconfig.pl @@ -72,7 +72,7 @@ sub config_diff($$) { my %config; 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}; } } |