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 8e188555278109a30cc1c24ebbc9dbf52120f3c7..099468a8f73cc11adae0bf879455ef22c05ae41e 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/^\+//;