mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Use $INDENT instead of which to find the indent binary
Per discussion after my commit o yesterday.
This commit is contained in:
parent
bc76695c4c
commit
a5dfc94c9a
1 changed files with 4 additions and 1 deletions
|
|
@ -21,7 +21,10 @@ fi
|
|||
TYPEDEFS="$1"
|
||||
shift
|
||||
|
||||
INDENT=`which indent`
|
||||
if [ -z "$INDENT" ]
|
||||
then
|
||||
INDENT=indent
|
||||
fi
|
||||
|
||||
trap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15
|
||||
entab </dev/null >/dev/null
|
||||
|
|
|
|||
Loading…
Reference in a new issue