diff mbox

[OpenWrt-Devel] scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling links.

Message ID 1431519395-11151-1-git-send-email-martin.strbacka@nic.cz
State Accepted
Headers show

Commit Message

Martin Strbacka May 13, 2015, 12:16 p.m. UTC
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>
---
 scripts/feeds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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