scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling...
authorJohn Crispin <john@openwrt.org>
Sat, 23 May 2015 15:29:06 +0000 (15:29 +0000)
committerJohn Crispin <john@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>
SVN-Revision: 45738

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");
        }
 );