summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
Diffstat (limited to 'download')
-rwxr-xr-xdownload6
1 files changed, 4 insertions, 2 deletions
diff --git a/download b/download
index 33e515120e7e..ded21afc9d2f 100755
--- a/download
+++ b/download
@@ -54,8 +54,10 @@ if [ -d .git ] ; then
mkdir clone
for i in $GIT_REPO_NAMES ; do
bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i
- for i in clone/$i/* ; do
- ln -sfn $i $(basename $i)
+ for d in clone/$i/* ; do
+ if [ "${d}" != "clone/$i/git-hooks" ]; then
+ ln -sfn ${d} $(basename ${d})
+ fi
done
done
fi