android: Ensure rm exits zero

This is to comply with set -e

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2017-11-15 20:46:39 +01:00 committed by Dirk Hohndel
parent cfa241036c
commit f9c85fa755

View file

@ -145,7 +145,7 @@ else
fi
rm -f ./subsurface-mobile-build-arm/build/outputs/apk/*.apk
rm -d ./subsurface-mobile-build-arm/AndroidManifest.xml
rm -df ./subsurface-mobile-build-arm/AndroidManifest.xml
if [ "$USE_X" ] ; then
bash "$USE_X" subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"