fix a warning
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 7 Dec 2007 10:32:48 +0000 (10:32 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 7 Dec 2007 10:32:48 +0000 (10:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9667 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/feeds

index d62e8e7..f22adc5 100755 (executable)
@@ -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;
                };
This page took 0.049029 seconds and 4 git commands to generate.