Use $INDENT instead of which to find the indent binary

Per discussion after my commit o yesterday.
This commit is contained in:
Alvaro Herrera 2011-02-18 12:47:48 -03:00
parent bc76695c4c
commit a5dfc94c9a

View File

@ -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