Changeset 911d279 in subsurface


Ignore:
Timestamp:
Feb 4, 2017, 7:02:11 AM (8 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
cd38cda1
Parents:
9a754b66
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/android/android-build-wrapper.sh

    r9a754b66 r911d279  
    132132rm -d ./subsurface-mobile-build-arm/AndroidManifest.xml
    133133rm -d ./subsurface-mobile-build-arm/bin/AndroidManifest.xml
    134 bash "$USE_X" subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
     134if [ "$USE_X" != "" ] ; then
     135        bash "$USE_X" subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
     136else
     137        bash subsurface/packaging/android/build.sh "$RELEASE" -buildnr "$BUILDNR" arm "$@"
     138fi
    135139
    136140ls -l ./subsurface-mobile-build-arm/bin/*.apk
Note: See TracChangeset for help on using the changeset viewer.