summaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-04-12 17:56:26 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-14 11:02:19 -0700
commit95292ac560bac1365f022ba85b19520ce787ca5b (patch)
tree0982dad2e634b6de6d21338231bd2ba654948bd8 /packaging/android
parent454a62c835d9e9e183438eb491c54be2de4e4254 (diff)
downloadsubsurface-95292ac560bac1365f022ba85b19520ce787ca5b.tar.gz
Set default build number for apk building
Having build number as mandatory parameter seems unnecessary, thus setting default value (used for andoird:versionCode) to 0. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android')
-rw-r--r--packaging/android/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 0c1fa0f43..f523b1c8f 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -22,6 +22,8 @@ if [ "$1" = "-buildnr" ] ; then
shift
BUILD_NR="\"$1\""
shift
+else
+ BUILD_NR="\"0\""
fi
# Configure where we can find things here