summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-02 21:27:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-02 21:27:21 +0000
commit1d3ed2fca01cee345ea6f6870f5c43b2d96cd712 (patch)
treeee3b9eaa8266420b69967ccd68117bcc6f99403e
parenta1114db1e83b377868529b576243957afb8ba613 (diff)
downloadmtk-20170518-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.zip
mtk-20170518-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.tar.gz
mtk-20170518-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.tar.bz2
fix a recursive symlink issue with scripts/feeds and src-link
SVN-Revision: 10714
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 4176c31..186144e 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -83,7 +83,7 @@ sub update_link($$) {
my $name = shift;
my $src = abs_path(shift);
- system("ln -sf $src ./feeds/$name");
+ system("rm -f ./feeds/$name; ln -s $src ./feeds/$name");
return 0;
}