Skip to content

Commit a5dfc94

Browse files
committed
Use $INDENT instead of which to find the indent binary
Per discussion after my commit o yesterday.
1 parent bc76695 commit a5dfc94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/pgindent/pgindent

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ fi
2121
TYPEDEFS="$1"
2222
shift
2323

24-
INDENT=`which indent`
24+
if [ -z "$INDENT" ]
25+
then
26+
INDENT=indent
27+
fi
2528

2629
trap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15
2730
entab </dev/null >/dev/null

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy