From 2ca8d664d735ae58056cb16dc28449b4dc04984d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 29 Jul 2017 07:34:20 -0700 Subject: [PATCH] build.sh: add quotes to if clause Otherwise this will cause error when the variable is undefined. Signed-off-by: Dirk Hohndel --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4e2442f12..945673bf8 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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"