Small indenting fixes in jsonpath_scan.l
[pgsql.git] / src / tools / perlcheck / pgperlsyncheck
blob657d2afcc026d8b1711f7ec89a23ac2c1196616a
1 #!/bin/sh
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"
9 set -e
11 . src/tools/perlcheck/find_perl_files
13 # for zsh
14 setopt shwordsplit 2>/dev/null || true
16 find_perl_files "$@" | xargs -L 1 perl $INCLUDES -cw 2>&1 | grep -v OK