Merge pull request #3106 from Netflix/dev_branch
fixing setup-git so build continues if ./git/hooks does not exist.
This commit is contained in:
commit
9af8d63f11
6
Makefile
6
Makefile
|
@ -50,8 +50,10 @@ reset-db:
|
||||||
|
|
||||||
setup-git:
|
setup-git:
|
||||||
@echo "--> Installing git hooks"
|
@echo "--> Installing git hooks"
|
||||||
git config branch.autosetuprebase always
|
if [ -d .git/hooks ]; then \
|
||||||
cd .git/hooks && ln -sf ../../hooks/* ./
|
git config branch.autosetuprebase always; \
|
||||||
|
cd .git/hooks && ln -sf ../../hooks/* ./; \
|
||||||
|
fi
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue