Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-3157 llite: A not locked mutex can be unlocked.
[fs/lustre-release.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index
5bd10be
..
3d04d84
100644
(file)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-4,7
+4,9
@@
# install Lustre Git commit hooks by default - LU-2083
for HOOK in commit-msg prepare-commit-msg; do
# install Lustre Git commit hooks by default - LU-2083
for HOOK in commit-msg prepare-commit-msg; do
- [ -e .git/hooks/$HOOK ] || ln -sf ../../build/$HOOK .git/hooks/
+ if [ -d .git/hooks -a ! -e .git/hooks/$HOOK ]; then
+ ln -sf ../../build/$HOOK .git/hooks/
+ fi
done
echo "Checking for a complete tree..."
done
echo "Checking for a complete tree..."