From: nbd 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.rohieb.name/openwrt.git/commitdiff_plain/8b102f61b3a8edbd850462479cc4c8c0ca80c120?ds=sidebyside 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 --- diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl index 53b8f1102..181b35ad4 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}; } }