Fix hook installation on Linux

Marks the shell scripts executable and sets nullglob so that the lack of
merge drivers doesn't cause shenanigans.
This commit is contained in:
Tad Hardesty
2018-01-30 14:18:46 -08:00
parent 1471422689
commit b4c330c24c
2 changed files with 1 additions and 0 deletions

1
tools/hooks/install.sh Normal file → Executable file
View File

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
shopt -s nullglob
cd "$(dirname "$0")" cd "$(dirname "$0")"
for f in *.hook; do for f in *.hook; do
echo Installing hook: ${f%.hook} echo Installing hook: ${f%.hook}

0
tools/hooks/python.sh Normal file → Executable file
View File