diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-12-07 10:32:48 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-12-07 10:32:48 +0000 |
commit | 85c156c97d55956137974238386b0e5c17bfb64c (patch) | |
tree | fa0bf17ba8902668600268b662b5c50696b4206d /scripts/feeds | |
parent | e869e415b74150e3c59dff77deae803cfe6f8c55 (diff) |
fix a warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9667 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-x | scripts/feeds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index d62e8e79d..f22adc55c 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; }; |