Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6f58770 in mainline


Ignore:
Timestamp:
2018-09-15T17:13:09Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
173b3bd
Parents:
cc74cb5
Message:

Allow overriding ccheck tool by environment variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ccheck.sh

    rcc74cb5 r6f58770  
    2929
    3030ccheck=tools/sycek/ccheck
     31if [ ."$CCHECK" != . ]; then
     32        ccheck="$CCHECK"
     33fi
    3134
    3235if [ ."$1" == .--fix ] ; then
     
    4548while read fname; do
    4649        outfile="$(mktemp)"
    47         $ccheck $opt $fname >"$outfile" 2>&1
     50        "$ccheck" $opt $fname >"$outfile" 2>&1
    4851        rc=$?
    4952        if [ .$rc == .0 ]; then
Note: See TracChangeset for help on using the changeset viewer.