From: mzuther Date: Wed, 20 Jan 2010 11:06:21 +0000 (+0000) Subject: indent.sh: ignore indentation profiles, so things are not messed up accidentally X-Git-Tag: svn1203~114 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=7f823fa243530072bfb6cd451c56886b0c3c3bfa;p=lcd4linux.git indent.sh: ignore indentation profiles, so things are not messed up accidentally git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1089 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- diff --git a/indent.sh b/indent.sh index c4adcf0..cadc14d 100755 --- a/indent.sh +++ b/indent.sh @@ -6,9 +6,10 @@ # -kr Use Kernighan & Ritchie coding style. # -l120 Set maximum line length for non-comment lines to 150. +# -npro Do not read ‘.indent.pro’ files. rm *.c~ *.h~ -indent -kr -l120 *.c *.h +indent -kr -l120 -npro *.c *.h for i in *.c *.h; do if !(diff -q $i $i~); then