Changes in tools/ccheck.sh [61c9ee2:e347396] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ccheck.sh

    r61c9ee2 re347396  
    3030ccheck=tools/sycek/ccheck
    3131
     32if [ ."$1" == .--fix ] ; then
     33        opt=--fix
     34else
     35        opt=
     36fi
     37
    3238srepcnt=0
    3339snorepcnt=0
     
    3743while read fname; do
    3844        outfile="$(mktemp)"
    39         $ccheck $fname >"$outfile" 2>&1
     45        $ccheck $opt $fname >"$outfile" 2>&1
    4046        rc=$?
    4147        if [ .$rc == .0 ]; then
Note: See TracChangeset for help on using the changeset viewer.