mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
aa7208049f
commit
e87a9e1454
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ if [ ! -f ./buildnr.dat ] ; then
|
||||||
else
|
else
|
||||||
BUILDNR=$(cat ./buildnr.dat)
|
BUILDNR=$(cat ./buildnr.dat)
|
||||||
fi
|
fi
|
||||||
((BUILDNR++))
|
BUILDNR=$((BUILDNR+1))
|
||||||
echo "${BUILDNR}" > ./buildnr.dat
|
echo "${BUILDNR}" > ./buildnr.dat
|
||||||
|
|
||||||
echo "Building Subsurface-mobile ${VERSION} for Android, build nr ${BUILDNR} as Subsurface-mobile-${VERSION}-arm.apk"
|
echo "Building Subsurface-mobile ${VERSION} for Android, build nr ${BUILDNR} as Subsurface-mobile-${VERSION}-arm.apk"
|
||||||
|
|
Loading…
Add table
Reference in a new issue