aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-19 20:55:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-19 20:55:05 +0000
commit86ca712e4a0806f4b58cb30938e55bab7e9b0f9a (patch)
tree8a713266f00f0944fd5d2991f35229397c654711
parentf5fb2a0aedc078af9bc58780c2c4402e34d76d9b (diff)
downloadmaster-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-xscripts/kconfig.pl2
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};
}
}