From 0a181a36a31edc0dbdbbaeb6e8267c1d124f4451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 25 Sep 2018 13:43:10 +0300 Subject: [PATCH] Use -n instead of != "" in build-llvm.sh --- build-llvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-llvm.sh b/build-llvm.sh index b579461..16b915d 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -58,7 +58,7 @@ if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then cd ../../.. fi -if [ "$(which ninja)" != "" ]; then +if [ -n "$(which ninja)" ]; then CMAKE_GENERATOR="-G Ninja" NINJA=1 fi