X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/76c0c63ed3e198686814cc038ede925d6450da73..f50d46ab20931062981bd7a4179b17bcdab7d8be:/scripts/feeds diff --git a/scripts/feeds b/scripts/feeds index ee2f108ef..099468a8f 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -102,7 +102,7 @@ sub update_git($$) { system("GIT_DIR=./feeds/$name/.git git pull") == 0 or return 1; } else { system("rm -rf \"./feeds/$name\""); - system("git-clone --depth 1 $src ./feeds/$name") == 0 or return 1; + system("git clone --depth 1 $src ./feeds/$name") == 0 or return 1; } return 0; @@ -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/^\+//;