[PATCH] build: Fix build script to use correct cmake cmd

Dennis Dalessandro
2016-10-21T17:27:28Z

The build script does not use the variable it sets up for cmake. Fix it
so it does.

Signed-off-by: Dennis Dalessandro <dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
build.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index 9006030..10518d8 100755
--- a/build.sh
+++ b/build.sh
@@ -23,9 +23,9 @@ fi
cd "$BUILDDIR"

if [ "x$NINJA" == "x" ]; then
- cmake ..
+ $CMAKE ..
make
else
- cmake -GNinja ..
+ $CMAKE -GNinja ..
$NINJA
fi