mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +00:00
contrib/ngindent: detect "gindent" as GNU indent
This commit is contained in:
parent
95f0e4033c
commit
da897a2a14
@ -4,6 +4,7 @@ INDENTARGS="-kr -i8 -ts8 -l80 -c3 -cd41 -ss -ncs -psl"
|
|||||||
|
|
||||||
# check if indent(1) is available
|
# check if indent(1) is available
|
||||||
type indent >/dev/null 2>&1 && INDENT="indent"
|
type indent >/dev/null 2>&1 && INDENT="indent"
|
||||||
|
type gindent >/dev/null 2>&1 && INDENT="gindent"
|
||||||
type gnuindent >/dev/null 2>&1 && INDENT="gnuindent"
|
type gnuindent >/dev/null 2>&1 && INDENT="gnuindent"
|
||||||
|
|
||||||
if [ -z "$INDENT" ]; then
|
if [ -z "$INDENT" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user