projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e326121
)
fix error message in scripts/feeds when indexes are missing
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Apr 2008 14:32:08 +0000
(14:32 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Apr 2008 14:32:08 +0000
(14:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10736
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/feeds
patch
|
blob
|
history
diff --git
a/scripts/feeds
b/scripts/feeds
index
186144e
..
afb8fff
100755
(executable)
--- a/
scripts/feeds
+++ b/
scripts/feeds
@@
-104,9
+104,15
@@
sub update_git($$) {
sub get_feed($) {
my $feed = shift;
+ my $file = "./feeds/$feed.index";
clear_packages();
- parse_package_metadata("./feeds/$feed.index") or return;
+
+ -f $file or do {
+ print "Ignoring feed '$feed' - index missing\n";
+ return;
+ };
+ parse_package_metadata($file) or return;
return { %package };
}
This page took
0.022979 seconds
and
4
git commands to generate.