From: Felix Fietkau Date: Wed, 2 Apr 2008 21:27:21 +0000 (+0000) Subject: fix a recursive symlink issue with scripts/feeds and src-link X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d3ed2fca01cee345ea6f6870f5c43b2d96cd712;p=openwrt%2Fstaging%2Fkaloz.git fix a recursive symlink issue with scripts/feeds and src-link SVN-Revision: 10714 --- 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; }