summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/android/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index f577598f2..4cc29e8df 100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -368,10 +368,10 @@ fi
if [ ! -f libdivecomputer-${ARCH}.SHA ] ; then
echo "" > libdivecomputer-${ARCH}.SHA
fi
-pushd subsurface
+pushd "$SUBSURFACE_SOURCE"
git submodule update --recursive
popd
-CURRENT_SHA=$(cd subsurface/libdivecomputer ; git describe)
+CURRENT_SHA=$(cd "$SUBSURFACE_SOURCE"/libdivecomputer ; git describe)
PREVIOUS_SHA=$(cat libdivecomputer-${ARCH}.SHA)
if [[ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" || ! -e "$PKG_CONFIG_LIBDIR/libdivecomputer.pc" ]] ; then
mkdir -p libdivecomputer-build-"$ARCH"