From e87a9e1454f37c924fc12c8e3cecdcda0ec610b3 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Nov 2017 17:01:11 +0100 Subject: 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 --- packaging/android/android-build-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') 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" -- cgit v1.2.3-70-g09d2