]> git.webhop.me Git - lcd4linux.git/commitdiff
indent.sh: ignore indentation profiles, so things are not messed up accidentally
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 20 Jan 2010 11:06:21 +0000 (11:06 +0000)
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 20 Jan 2010 11:06:21 +0000 (11:06 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1089 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

indent.sh

index c4adcf0da3a474ed2463c2abfef7950c5ca79c96..cadc14d2a5aa8eac4d09f4754c4ea06bc5d54780 100755 (executable)
--- 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