Fixed dependency handling for feeds
authorSteven Barth <cyrus@openwrt.org>
Tue, 16 Sep 2008 20:25:36 +0000 (20:25 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 16 Sep 2008 20:25:36 +0000 (20:25 +0000)
SVN-Revision: 12615

scripts/feeds

index 8e18855..099468a 100755 (executable)
@@ -286,7 +286,7 @@ sub install_package {
        };
 
        # install all dependencies
-       foreach my $vpkg (@{$srcpackage{$src}}) {
+       foreach my $vpkg (@{$srcpackage{$src}}, $pkg) {
                foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
                        next if $dep =~ /@/;
                        $dep =~ s/^\+//;