summaryrefslogtreecommitdiff
path: root/scripts/feeds
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-05-23 15:29:06 +0000
committerJohn Crispin <john@openwrt.org>2015-05-23 15:29:06 +0000
commit803ebd2725f0f661e3981fad56180832e88b6fbd (patch)
tree2c975e508519d2f23aa5c24422f0aed14cb660e9 /scripts/feeds
parenta2d0d58a8ebe43fa532b7da1f22f34465970b35d (diff)
downloadmtk-20170518-803ebd2725f0f661e3981fad56180832e88b6fbd.zip
mtk-20170518-803ebd2725f0f661e3981fad56180832e88b6fbd.tar.gz
mtk-20170518-803ebd2725f0f661e3981fad56180832e88b6fbd.tar.bz2
scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling links.
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
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
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");
}
);