diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-19 20:55:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-19 20:55:05 +0000 |
commit | 86ca712e4a0806f4b58cb30938e55bab7e9b0f9a (patch) | |
tree | 8a713266f00f0944fd5d2991f35229397c654711 | |
parent | f5fb2a0aedc078af9bc58780c2c4402e34d76d9b (diff) | |
download | master-187ad058-86ca712e4a0806f4b58cb30938e55bab7e9b0f9a.tar.gz master-187ad058-86ca712e4a0806f4b58cb30938e55bab7e9b0f9a.tar.bz2 master-187ad058-86ca712e4a0806f4b58cb30938e55bab7e9b0f9a.zip |
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
-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}; } } |