Changeset dbe98a8 in rtems-testing


Ignore:
Timestamp:
Aug 31, 2011, 8:43:11 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
f0bba1d
Parents:
ab5e450
Message:

2011-08-31 Joel Sherrill <joel.sherrill@…>

  • check_submission: Check for tabs in source files.
Location:
merge-helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • merge-helpers/ChangeLog

    rab5e450 rdbe98a8  
     12011-08-31      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * check_submission: Check for tabs in source files.
     4
    152011-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • merge-helpers/check_submission

    rab5e450 rdbe98a8  
    178178  egrep " +$" $f >/dev/null
    179179  test $? -eq 0 && echo "$f has spaces at the end of one or more lines."
     180done
     181
     182# We do not want tabs in source files
     183echo "=== Checking for tabs in source files"
     184find_source | while read f
     185do
     186  grep -P '\t' $f >/dev/null
     187  if [ $? -eq 0 ]; then
     188    echo "*** ${basedir}/${f} has the following lines with tabs"
     189    grep -P '\t' $f
     190  fi
    180191done
    181192
Note: See TracChangeset for help on using the changeset viewer.