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

Martin Strbacka martin.strbacka at nic.cz
Wed May 13 08:16:35 EDT 2015


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 at nic.cz>
---
 scripts/feeds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");
 	}
 );
 
-- 
1.9.1
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list