From: Felix Fietkau Date: Fri, 7 Dec 2007 10:32:48 +0000 (+0000) Subject: fix a warning X-Git-Tag: reboot~27556 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=e484fd510071332b3c09250b583767719d009c4c;p=lede-git%2F.git fix a warning SVN-Revision: 9667 --- diff --git a/scripts/feeds b/scripts/feeds index d62e8e79dd..f22adc55c4 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -85,7 +85,7 @@ sub search_feed { foreach my $substr (@substr) { my $match; foreach my $key (qw(name title description)) { - $substr and $pkg->{$key} =~ m/$substr/i and $match = 1; + $pkg->{$key} and $substr and $pkg->{$key} =~ m/$substr/i and $match = 1; } $match or undef $pkgmatch; };