summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-13 21:13:25 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-08-13 16:06:22 -0500
commit5df66895d7645e943696e8d56ad776a4b54859d2 (patch)
tree55ff070d4be842f9c6b1d195f6c580667d245891 /download
parent6638cbad4e001bcce3cddfef1898390d47ce9546 (diff)
download: when run twice, do not create foo/foo symlink
Diffstat (limited to 'download')
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 9a6ed9b53e73..adf0ba82058b 100755
--- a/download
+++ b/download
@@ -55,7 +55,7 @@ if [ -d .git ] ; then
for i in $GIT_REPO_NAMES ; do
bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i
for i in clone/$i/* ; do
- ln -sf $i $(basename $i)
+ ln -sfn $i $(basename $i)
done
done
fi