From: Felix Fietkau Date: Wed, 19 Sep 2007 20:55:05 +0000 (+0000) Subject: fix kconfig.pl split for config symbols that have "0" as value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=15bc93fc03a97dc583b548aa4f57081ec15fe545;p=openwrt%2Fstaging%2Fjow.git fix kconfig.pl split for config symbols that have "0" as value SVN-Revision: 8847 --- 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}; } }