Use -n instead of != "" in build-llvm.sh
This commit is contained in:
1 parent
a7616d6d23
commit
0a181a36a3
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user