diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-04-27 14:49:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-27 14:49:15 -0700 |
commit | ddd5ec7f56e9b573eb5c5a9c4ea4e7afd7301d55 (patch) | |
tree | 39da64f48a3e53222a74771a7c3c988aefcb257e /packaging | |
parent | b9e57dbeab45802c7fae9f1849f01af77ff79493 (diff) | |
download | subsurface-ddd5ec7f56e9b573eb5c5a9c4ea4e7afd7301d55.tar.gz |
Android: fix error in build script
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/android/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |