commit da897a2a14ac229dbd542f2f11c970dcb005944d from: Alexander Barton date: Mon Aug 01 21:39:29 2011 UTC contrib/ngindent: detect "gindent" as GNU indent commit - 95f0e4033c97285e82113f1bde97a11875767153 commit + da897a2a14ac229dbd542f2f11c970dcb005944d blob - 73537a6d6d07664ecac76e487aa8aaf6f03e5b7a blob + 2ce1a26ac261ea41bbbbac9a6287f44f42943d08 --- contrib/ngindent +++ 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