Resolving some more hooking problems

This commit is contained in:
Miroslav Stampar
2018-12-10 13:20:34 +01:00
parent ef911b6be4
commit f81062d595
4 changed files with 32 additions and 12 deletions

View File

@@ -1,5 +1,15 @@
#!/bin/bash
"""
cat > .git/hooks/post-commit << EOF
#!/bin/bash
source ./extra/shutils/postcommit-hook.sh
EOF
chmod +x .git/hooks/post-commit
"""
SETTINGS="../../lib/core/settings.py"
declare -x SCRIPTPATH="${0}"