summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-29 07:34:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-29 07:55:25 -0700
commit2ca8d664d735ae58056cb16dc28449b4dc04984d (patch)
treedfd320f76b6b23d19d840339f3064574ea9c4668
parenta1a833392d10e051f26b23c2100f24c27d6299b0 (diff)
downloadsubsurface-2ca8d664d735ae58056cb16dc28449b4dc04984d.tar.gz
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>
-rwxr-xr-xscripts/build.sh2
1 files changed, 1 insertions, 1 deletions
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"