From ddd5ec7f56e9b573eb5c5a9c4ea4e7afd7301d55 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 27 Apr 2018 14:49:02 -0700 Subject: Android: fix error in build script Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/android/build.sh') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 45ba7738f..f577598f2 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -373,7 +373,7 @@ git submodule update --recursive popd CURRENT_SHA=$(cd subsurface/libdivecomputer ; git describe) PREVIOUS_SHA=$(cat libdivecomputer-${ARCH}.SHA) -if [ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" || ! -e "$PKG_CONFIG_LIBDIR/libdivecomputer.pc" ] ; then +if [[ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" || ! -e "$PKG_CONFIG_LIBDIR/libdivecomputer.pc" ]] ; then mkdir -p libdivecomputer-build-"$ARCH" pushd libdivecomputer-build-"$ARCH" "$SUBSURFACE_SOURCE"/libdivecomputer/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no -- cgit v1.2.3-70-g09d2