1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

tests: only run hooks/pre-commit if its present (not in source tarball)

This commit is contained in:
Hans-Christoph Steiner 2019-07-03 19:39:52 +02:00
parent 1fdeb4691c
commit aa1e958360

View File

@ -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
#------------------------------------------------------------------------------#