mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-06-14 03:37:30 -04:00
tests: only run hooks/pre-commit if its present (not in source tarball)
This commit is contained in:
@@ -128,7 +128,7 @@ set -x # show each command as it is executed
|
||||
echo_header "run commit hooks"
|
||||
|
||||
cd $WORKSPACE
|
||||
./hooks/pre-commit
|
||||
test -x ./hooks/pre-commit && ./hooks/pre-commit
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user