From 1b9e78add276e621540269fd8a80d8d6df177ca6 Mon Sep 17 00:00:00 2001 From: Phil Turnbull Date: Mon, 19 Jun 2017 09:26:49 -0400 Subject: [PATCH] Fix formatting and use '-n' --- script/test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/test b/script/test index 71f3a89d..27aca802 100755 --- a/script/test +++ b/script/test @@ -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:-""}