summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.inc b/Makefile.inc
index d6c747646f..c7f1d04068 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -563,11 +563,11 @@ gitconfig:
fi; \
done
# Now set up thehooks for 3rdparty/blobs
- if [ -d .git/modules/3rdparty/hooks -a \
- \( util/gitconfig/commit-msg -nt .git/modules/3rdparty/hooks/commit-msg -o \
- ! -x .git/modules/3rdparty/hooks/commit-msg \) ]; then \
- sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/hooks/commit-msg; \
- chmod +x .git/modules/3rdparty/hooks/commit-msg; \
+ if [ -d .git/modules/3rdparty/blobs/hooks -a \
+ \( util/gitconfig/commit-msg -nt .git/modules/3rdparty/blobs/hooks/commit-msg -o \
+ ! -x .git/modules/3rdparty/blobs/hooks/commit-msg \) ]; then \
+ sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/blobs/hooks/commit-msg; \
+ chmod +x .git/modules/3rdparty/blobs/hooks/commit-msg; \
fi
[ -d 3rdparty/blobs ] && cd 3rdparty/blobs && git config remote.origin.push HEAD:refs/for/master
git config remote.origin.push HEAD:refs/for/master