Index: compiler-rt/lib/sanitizer_common/scripts/check_lint.sh =================================================================== --- compiler-rt/lib/sanitizer_common/scripts/check_lint.sh +++ compiler-rt/lib/sanitizer_common/scripts/check_lint.sh @@ -55,7 +55,9 @@ FILTER=$1 shift TASK_LOG=$(${MKTEMP}) - ${CPPLINT} --filter=${FILTER} "$@" > $TASK_LOG 2>&1 + if [ ! -z "$@" ]; then + ${CPPLINT} --filter=${FILTER} "$@" > $TASK_LOG 2>&1 + fi if [ "$?" != "0" ]; then cat $TASK_LOG | grep -v "Done processing" | grep -v "Total errors found" \ | grep -v "Skipping input" >> $ERROR_LOG