mirror of https://github.com/PCSX2/pcsx2.git
Darwin/OSX - bash doesn't understand '|&' - alt format for stderr redirect pipe.
This commit is contained in:
parent
4fa8834de4
commit
ade57809c1
2
build.sh
2
build.sh
|
@ -162,7 +162,7 @@ if [[ "$cppcheck" -eq 1 ]] && [[ -x `which cppcheck` ]]; then
|
|||
log=cpp_check__${flat_d}.log
|
||||
rm -f $log
|
||||
|
||||
cppcheck $check -j $ncpu --platform=unix32 $define $root/$d |& tee $log
|
||||
cppcheck $check -j $ncpu --platform=unix32 $define $root/$d 2>&1 | tee $log
|
||||
# Create a small summary (warning it might miss some issues)
|
||||
fgrep -e "(warning)" -e "(error)" -e "(style)" -e "(performance)" -e "(portability)" $log >> $summary
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue