X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2Fngindent;h=2ce1a26ac261ea41bbbbac9a6287f44f42943d08;hp=73537a6d6d07664ecac76e487aa8aaf6f03e5b7a;hb=19d6f4740eb6dc058f02379b0abca96b94eb8159;hpb=155056f38632dbe0fed086ab750fc08dfe91a102 diff --git a/contrib/ngindent b/contrib/ngindent index 73537a6d..2ce1a26a 100755 --- a/contrib/ngindent +++ b/contrib/ngindent @@ -4,6 +4,7 @@ INDENTARGS="-kr -i8 -ts8 -l80 -c3 -cd41 -ss -ncs -psl" # check if indent(1) is available type indent >/dev/null 2>&1 && INDENT="indent" +type gindent >/dev/null 2>&1 && INDENT="gindent" type gnuindent >/dev/null 2>&1 && INDENT="gnuindent" if [ -z "$INDENT" ]; then