File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
1414 echo " Then run $0 again."
1515 exit 1
1616fi
17- indent -- version < /dev/null > /dev/null 2>&1
17+ indent -version < /dev/null > /dev/null 2>&1
1818if [ " $? " -eq 0 ]
1919then echo " You do not appear to have 'indent' installed on your system." >&2
2020 exit 1
2121fi
22- indent -version -npro < /dev/null > /dev/null 2>&1
22+ indent -gnu < /dev/null > /dev/null 2>&1
2323if [ " $? " -eq 0 ]
2424then echo " You appear to have GNU indent rather than BSD indent." >&2
2525 echo " See the pgindent/README file for a description of its problems." >&2
26- EXTRA_OPTS=" -ncdb -bli0 -npcs -cli4"
26+ EXTRA_OPTS=" -cdb -bli0 -npcs -cli4 -sc "
2727else echo " Hope you installed /src/tools/pgindent/indent.bsd.patch." >&2
28- EXTRA_OPTS=" -bbb - cli1"
28+ EXTRA_OPTS=" -cli1"
2929fi
3030
3131for FILE
6767
6868# We get the list of typedef's from /src/tools/find_typedef
6969 indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l75 \
70- -lp -nip -npro $EXTRA_OPTS \
70+ -lp -nip -npro -bbb $EXTRA_OPTS \
7171-TA_Const \
7272-TA_Expr \
7373-TA_Indices \
You can’t perform that action at this time.
0 commit comments