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-a3cf2f4a3e73master
parent
3920eaede6
commit
8a7cacf92b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue