diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-10 06:35:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-10 06:35:40 -0800 |
commit | 557eb744a3d7a04c8f2283bbcfc90a8143e7f407 (patch) | |
tree | b292b2d4b87086eebbef93350cf69199111b34d2 /packaging | |
parent | 6be08007042bb54fdacaf8430a5f6b10b075fee7 (diff) | |
download | subsurface-557eb744a3d7a04c8f2283bbcfc90a8143e7f407.tar.gz |
Make sure version is freshly generated before extracting
Oops, so Subsurface-mobile 1.0 (4.5.2.1048)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/android/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 788e00231..17ccb03b3 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -356,6 +356,8 @@ sed -i -e "s/-lcrypto//g" CMakeFiles/subsurface-mobile.dir/link.txt # set up the version number +rm ssrf-version.h +make version SUBSURFACE_MOBILE_VERSION=$(grep MOBILE_VERSION_STRING ssrf-version.h | awk '{ print $3 }' | tr -d \" ) SUBSURFACE_MOBILE_VERSION="${SUBSURFACE_MOBILE_VERSION} ($(grep CANONICAL_VERSION_STRING ssrf-version.h | awk '{ print $3 }' | tr -d \"))" |