Fix formatting and use '-n'
This commit is contained in:
parent
e9bf794cd9
commit
1b9e78add2
1 changed files with 3 additions and 3 deletions
|
|
@ -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:-""}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue