summaryrefslogtreecommitdiffstats
path: root/src/tools/pgindent/pgperltidy
blob: 6af27d21d5531322c09a4eafe80950ab8c5e20e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# src/tools/pgindent/pgperltidy

set -e

# set this to override default perltidy program:
PERLTIDY=${PERLTIDY:-perltidy}

. src/tools/perlcheck/find_perl_files

find_perl_files "$@" | xargs $PERLTIDY --profile=src/tools/pgindent/perltidyrc