mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android build wrapper: sometimes quotes hurt you
Shellcheck wanted quotes around "$USE_X" - but that makes the script fail if you run it without the '-x' argument. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9a754b663a
commit
911d2798cd
1 changed files with 5 additions and 1 deletions
|
@ -131,7 +131,11 @@ fi
|
||||||
rm -f ./subsurface-mobile-build-arm/bin/QtApp-debug.apk
|
rm -f ./subsurface-mobile-build-arm/bin/QtApp-debug.apk
|
||||||
rm -d ./subsurface-mobile-build-arm/AndroidManifest.xml
|
rm -d ./subsurface-mobile-build-arm/AndroidManifest.xml
|
||||||
rm -d ./subsurface-mobile-build-arm/bin/AndroidManifest.xml
|
rm -d ./subsurface-mobile-build-arm/bin/AndroidManifest.xml
|
||||||
bash "$USE_X" subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
|
if [ "$USE_X" != "" ] ; then
|
||||||
|
bash "$USE_X" subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
|
||||||
|
else
|
||||||
|
bash subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
ls -l ./subsurface-mobile-build-arm/bin/*.apk
|
ls -l ./subsurface-mobile-build-arm/bin/*.apk
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue