summaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
parenta1114db1e83b377868529b576243957afb8ba613 (diff)
downloadopenwrt-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.tar.gz
openwrt-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.tar.bz2
openwrt-1d3ed2fca01cee345ea6f6870f5c43b2d96cd712.zip
fix a recursive symlink issue with scripts/feeds and src-link
SVN-Revision: 10714
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 4176c31f32..186144ef38 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;
}