mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08: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
@ -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 New Issue
Block a user