From 454a62c835d9e9e183438eb491c54be2de4e4254 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 12 Apr 2016 17:56:25 +0300 Subject: Fix initial build of APK Running subsurface/packaging/android/build.sh after deleting subsurface-mobile-build-arm directory fails for me due to missing ssrf-version.h file. Just ignore if it doesn't exist. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/android') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 17ccb03b3..0c1fa0f43 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -356,7 +356,7 @@ sed -i -e "s/-lcrypto//g" CMakeFiles/subsurface-mobile.dir/link.txt # set up the version number -rm ssrf-version.h +rm -f 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 \"))" -- cgit v1.2.3-70-g09d2