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 89cb5a22c535ebaf5af4500876a36587ea420ace..a6be9cca22946ec93d0126d25c7d836d7e734f18 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");
        }
 );