X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Ffeeds;fp=scripts%2Ffeeds;h=4595c824a4b7c4836fdb1b67472dc476101e3d45;hb=423ec18116f333bd51ff5264b0b5c9edc02945c6;hp=4ac6685b4d6ef0a79a842009e310a36f72b8310b;hpb=f0c702f124090470ec2b1140c576033e4e50fa1b;p=openwrt%2Fopenwrt.git diff --git a/scripts/feeds b/scripts/feeds index 4ac6685b4d..4595c824a4 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -373,10 +373,14 @@ sub list { return 0; } +# TODO: do_install_package etc. should deal with source packages rather +# than binary packages sub do_install_package($$) { my $feed = shift; my $pkg = shift; - my $path = $pkg->{makefile}; + + my $path; + $pkg->{src} and $path = $pkg->{src}{makefile}; if($path) { $path =~ s/\/Makefile$//;