summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-07 10:32:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-07 10:32:48 +0000
commite484fd510071332b3c09250b583767719d009c4c (patch)
tree0b2cf62dd07f52f6684eb7aefc912640bed58cd3 /scripts
parenteeebde136dabb336e85491057fe8af8c351e9c04 (diff)
downloadmtk-20170518-e484fd510071332b3c09250b583767719d009c4c.zip
mtk-20170518-e484fd510071332b3c09250b583767719d009c4c.tar.gz
mtk-20170518-e484fd510071332b3c09250b583767719d009c4c.tar.bz2
fix a warning
SVN-Revision: 9667
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index d62e8e7..f22adc5 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;
};