diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-04 10:55:09 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-04 10:55:09 +0100 |
commit | 9635dab7ccdc629ff55e571ee1495573dca53aee (patch) | |
tree | c6bb2f9b1c8bb066192574a67514077c7aee3b91 /download | |
parent | 175f17b31e838056b733a1524e5f366efe7300d9 (diff) |
download: do not annoy me by creating bogus git-hooks
Diffstat (limited to 'download')
-rwxr-xr-x | download | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |