git://git.onelab.eu
/
infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9948b
)
cp hook script instead of creating a symlink
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Tue, 22 Jun 2010 13:22:23 +0000
(15:22 +0200)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Tue, 22 Jun 2010 13:22:23 +0000
(15:22 +0200)
scripts/git-check.sh
patch
|
blob
|
history
diff --git
a/scripts/git-check.sh
b/scripts/git-check.sh
index
a7f2ee5
..
92fada8
100755
(executable)
--- a/
scripts/git-check.sh
+++ b/
scripts/git-check.sh
@@
-78,7
+78,7
@@
function check_hooks () {
git=${b}.git
echo -n "$git "
# standard version is in /usr/share/doc/git-1.5.5.6/hooks/post-receive-email
- (cd $git/hooks;
[ -h post-receive ] || ln -s
f /root/bin/post-receive-email-with-diffs post-receive )
+ (cd $git/hooks;
cp -
f /root/bin/post-receive-email-with-diffs post-receive )
done
echo ""
}