Use -n instead of != "" in build-llvm.sh

This commit is contained in:
Martin Storsjö committed 2018-10-02 21:34:54 +03:00
1 parent a7616d6d23
commit 0a181a36a3
1 file changed
+1 -1
+1 -1
View File
@@ -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