Merge pull request #145 from losnoco/nevack/githook

Update Git hook
CQTexperiment
Dzmitry Neviadomski 2021-05-02 20:57:14 +03:00 committed by GitHub
commit f23cd09875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
ERRORS=$(grep -nR --include project.pbxproj -E "(DevelopmentTeam|DEVELOPMENT_TEAM) =" . | grep -v -E '= (N6E749HJ2X|""|FK9S39L3SK)')
ERRORS=$(grep -nR --include project.pbxproj -E "(DevelopmentTeam|DEVELOPMENT_TEAM) =" . | grep -v -E '= ""')
COUNT=$(echo -n "$ERRORS\c" | wc -l | awk '{print $1}')
if [ $COUNT -ne 0 ]; then