Fix formatting and use '-n'

This commit is contained in:
Phil Turnbull 2017-06-19 09:26:49 -04:00
parent e9bf794cd9
commit 1b9e78add2

View file

@ -87,10 +87,10 @@ else
args+=("--reporter=singleline")
fi
if [[ ! -z "$run_scan_build" ]]; then
scan_build make -j2 $target
if [[ -n "$run_scan_build" ]]; then
scan_build make -j2 $target
else
make -j2 $target
make -j2 $target
fi
args=${args:-""}