aboutsummaryrefslogtreecommitdiffstats
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
commit4f58ce924fba5572c2bce6846ab08b9a509031ca (patch)
treefa0bf17ba8902668600268b662b5c50696b4206d /scripts
parentf2f72a33c147d1e9e0d81352076bdf4e0ef1e158 (diff)
downloadupstream-4f58ce924fba5572c2bce6846ab08b9a509031ca.tar.gz
upstream-4f58ce924fba5572c2bce6846ab08b9a509031ca.tar.bz2
upstream-4f58ce924fba5572c2bce6846ab08b9a509031ca.zip
fix a warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9667 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
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;
};