updating script.

This commit is contained in:
skarg
2007-11-29 16:27:33 +00:00
parent 1c28c650d7
commit 06d23fcf1f
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
-kr -nut -nlp -ip4 -cli4 -bfda -nbc -nbbo -c0 -cd0 -cp0 -di0 -l79 -nhnl
-kr -nut -nlp -ip4 -cli4 -bfda -nbc -nbbo -c0 -cd0 -cp0 -di0 -l79
+4 -2
View File
@@ -5,9 +5,11 @@
[ -x /usr/bin/indent ] || exit 0
[ -x /usr/bin/dos2unix ] || exit 0
if [ ! -x .indent.pro ]
INDENTRC=".indent.pro"
if [ ! -x ${INDENTRC} ]
then
echo "-kr -nut -nlp -ip4 -cli4 -bfda -nbc -nbbo -c0 -cd0 -cp0 -di0 -l79" > .indent.pro
echo No ${INDENTRC} file found. Creating ${INDENTRC} file.
echo "-kr -nut -nlp -ip4 -cli4 -bfda -nbc -nbbo -c0 -cd0 -cp0 -di0 -l79 -nhnl" > ${INDENTRC}
fi
directory=${1-`pwd`}