3 # script to detect compile time errors and warnings in all perl files
5 INCLUDES
="-I src/backend/catalog"
6 INCLUDES
="-I src/test/perl -I src/backend/utils/mb/Unicode $INCLUDES"
7 INCLUDES
="-I src/bin/pg_rewind -I src/test/ssl/t $INCLUDES"
11 . src
/tools
/perlcheck
/find_perl_files
14 setopt shwordsplit
2>/dev
/null || true
16 find_perl_files
"$@" |
xargs -L 1 perl
$INCLUDES -cw 2>&1 |
grep -v OK