build.sh: add quotes to if clause

Otherwise this will cause error when the variable is undefined.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-29 07:34:20 -07:00
parent a1a833392d
commit 2ca8d664d7

View file

@ -355,7 +355,7 @@ fi
# build libssrfmarblewidget
if [ $BUILD_WITH_MARBLE = 1 ]; then
if [ "$BUILD_WITH_MARBLE" = "1" ]; then
EXTRA_OPTS="-DMARBLE_INCLUDE_DIR=$INSTALL_ROOT/include \
-DMARBLE_LIBRARIES=$INSTALL_ROOT/lib/libssrfmarblewidget.$SH_LIB_EXT \
-DNO_MARBLE=OFF $EXTRA_OPTS"