summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-19 20:55:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-19 20:55:05 +0000
commit8b102f61b3a8edbd850462479cc4c8c0ca80c120 (patch)
tree8a713266f00f0944fd5d2991f35229397c654711 /scripts
parent86af2c87cfa6343913b87509d578f82edeebc01d (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-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};
}
}