aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2017-11-15 17:01:11 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-16 10:23:00 -0800
commite87a9e1454f37c924fc12c8e3cecdcda0ec610b3 (patch)
treec5da1a2a2027fcae879aea1a829409b39a579153 /packaging
parentaa7208049f0771e0896c1831515e267dcd71d6aa (diff)
downloadsubsurface-e87a9e1454f37c924fc12c8e3cecdcda0ec610b3.tar.gz
android: Increase BUILDNR with zero exit status
This increases BUILDNR in a way that keeps exit status as zero, so the script doesn't abort due to set -e. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/android/android-build-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh
index 5c9efa5d1..d2033501b 100755
--- a/packaging/android/android-build-wrapper.sh
+++ b/packaging/android/android-build-wrapper.sh
@@ -132,7 +132,7 @@ if [ ! -f ./buildnr.dat ] ; then
else
BUILDNR=$(cat ./buildnr.dat)
fi
-((BUILDNR++))
+BUILDNR=$((BUILDNR+1))
echo "${BUILDNR}" > ./buildnr.dat
echo "Building Subsurface-mobile ${VERSION} for Android, build nr ${BUILDNR} as Subsurface-mobile-${VERSION}-arm.apk"