From 8a7cacf92b921dfe044551b12f0c75ca1c467bf5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 2 Apr 2008 21:27:21 +0000 Subject: [PATCH] fix a recursive symlink issue with scripts/feeds and src-link git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10714 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/feeds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }