Fixed dependency handling for feeds
[openwrt-10.03/.git] / 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/^\+//;