mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
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:
1
tools/hooks/install.sh
Normal file → Executable file
1
tools/hooks/install.sh
Normal file → Executable 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
0
tools/hooks/python.sh
Normal file → Executable file
Reference in New Issue
Block a user