summaryrefslogtreecommitdiff
path: root/nuttx/tools/indent.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 15:36:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 15:36:28 +0000
commite6f93f774080d42c3f954a862709d047df2d7e7a (patch)
tree487b0ec566d911458a00e1803392b817e84b7809 /nuttx/tools/indent.sh
parent95317af605c883b464a4c5b524632193614bfd24 (diff)
downloadpx4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.gz
px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.bz2
px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.zip
More support for SLIP data link protocol
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3370 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/indent.sh')
-rwxr-xr-xnuttx/tools/indent.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/tools/indent.sh b/nuttx/tools/indent.sh
index 8168a1807..938502e0f 100755
--- a/nuttx/tools/indent.sh
+++ b/nuttx/tools/indent.sh
@@ -37,9 +37,9 @@
# This script uses the Linux 'indent' utility to re-format C source files
# to match the coding style that I use. It differs from my coding style in that
#
-# - I normally put the traiing */ of a multi-line comment on a separate line,
-# - I usually align things vertically (like '='in assignments.
-# - indent puts a bogus blank line at the top of the file
+# - I normally put the trailing */ of a multi-line comment on a separate line,
+# - I usually align things vertically (like '=' in assignments),
+# - indent puts a bogus blank line at the top of the file,
# - I don't like the way it handles nested conditional compilation intermixed with code.
#
@@ -63,7 +63,7 @@ if [ -z "$infile" ]; then
fi
if [ ! -r $infile ]; then
- echo "Readable $nfile does not exist"
+ echo "Readable $infile does not exist"
exit 1
fi