aboutsummaryrefslogtreecommitdiffstats
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
commit8a7cacf92b921dfe044551b12f0c75ca1c467bf5 (patch)
tree5aaa9be5bfbc84379a96f4ecf4c1c5b640347ddc
parent3920eaede6b8c27e7c9aea22dd5a2831e2adcc6c (diff)
downloadupstream-8a7cacf92b921dfe044551b12f0c75ca1c467bf5.tar.gz
upstream-8a7cacf92b921dfe044551b12f0c75ca1c467bf5.tar.bz2
upstream-8a7cacf92b921dfe044551b12f0c75ca1c467bf5.zip
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
-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;
}
5 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234