Commit e3eb8be7 authored by Andrew Dunstan's avatar Andrew Dunstan

Exclude files in .git from list of perl files

The .git directory might contain perl files, as hooks, for example.
Since we have no control over these they should be excluded from things
like our perlcritic checks.

Per offline report from Mike Blackwell.
parent a54e1f15
......@@ -11,5 +11,5 @@ find_perl_files () {
find . -type f -perm -100 -exec file {} \; -print |
egrep -i ':.*perl[0-9]*\>' |
cut -d: -f1
} | sort -u
} | sort -u | grep -v '^\./\.git/'
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment