fix a recursive symlink issue with scripts/feeds and src-link

SVN-Revision: 10714
This commit is contained in:
Felix Fietkau 2008-04-02 21:27:21 +00:00
parent a1114db1e8
commit 1d3ed2fca0

View file

@ -83,7 +83,7 @@ sub update_link($$) {
my $name = shift; my $name = shift;
my $src = abs_path(shift); my $src = abs_path(shift);
system("ln -sf $src ./feeds/$name"); system("rm -f ./feeds/$name; ln -s $src ./feeds/$name");
return 0; return 0;
} }