scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling...
authorJohn Crispin <blogic@openwrt.org>
Sat, 23 May 2015 15:29:06 +0000 (15:29 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 23 May 2015 15:29:06 +0000 (15:29 +0000)
Hello,

if you run:
./scripts/feeds clean
It removes ./feeds folder but not ./package/feeds/ which is full of dangling links then. This patch fixes it.

Best Regards,
Martin Strbačka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45738 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/feeds

index 89cb5a2..a6be9cc 100755 (executable)
@@ -793,7 +793,7 @@ my %commands = (
        'uninstall' => \&uninstall,
        'feed_config' => \&feed_config,
        'clean' => sub {
-               system("rm -rf feeds");
+               system("rm -rf ./feeds ./package/feeds");
        }
 );