summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-04 10:55:09 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-04 10:55:09 +0100
commit9635dab7ccdc629ff55e571ee1495573dca53aee (patch)
treec6bb2f9b1c8bb066192574a67514077c7aee3b91 /download
parent175f17b31e838056b733a1524e5f366efe7300d9 (diff)
download: do not annoy me by creating bogus git-hooks
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