Changeset 1c33951 in subsurface


Ignore:
Timestamp:
Feb 9, 2017, 9:31:11 PM (9 days ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
e8923a9
Parents:
9470278e
git-author:
Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@…> (02/08/17 09:03:34)
git-committer:
Dirk Hohndel <dirk@…> (02/09/17 21:31:11)
Message:

Remove useless quotes

Don't quote if you don't have to. Spend those cpu cycles on doing
something more useful, instead.

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@…>
Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

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

    r9470278e r1c33951  
    1111exec 1> >(tee ./build.log) 2>&1
    1212
    13 USE_X=$(case "$-" in *x*) echo "-x" ;; esac)
     13USE_X=$(case $- in *x*) echo "-x" ;; esac)
    1414
    1515# these are the current versions for Qt, Android SDK & NDK:
     
    2525PLATFORM=$(uname)
    2626
    27 pushd "$(dirname "$0")/../../"
     27pushd $(dirname "$0")/../../
    2828export SUBSURFACE_SOURCE=$PWD
    2929popd
    3030
    31 if [ "$PLATFORM" = "Linux" ] ; then
     31if [ "$PLATFORM" = Linux ] ; then
    3232        QT_BINARIES=qt-opensource-linux-x64-android-${LATEST_QT}.run
    3333        NDK_BINARIES=${ANDROID_NDK}-linux-x86_64.zip
     
    3939
    4040# make sure we have the required commands installed
    41 MISSING=""
     41MISSING=
    4242for i in git cmake autoconf libtool java ant wget unzip; do
    4343        command -v $i >/dev/null ||
    44                 if [ "$i" = "libtool" ] ; then
     44                if [ $i = libtool ] ; then
    4545                        MISSING="${MISSING}libtool-bin "
    46                 elif [ "$i" = "java" ] ; then
     46                elif [ $i = java ] ; then
    4747                        MISSING="${MISSING}openjdk-8-jdk "
    4848                else
     
    113113
    114114# and now we need a monotonic build number...
    115 if [ ! -f "./buildnr.dat" ] ; then
     115if [ ! -f ./buildnr.dat ] ; then
    116116        BUILDNR=0
    117117else
     
    123123echo "Building Subsurface-mobile ${VERSION} for Android, build nr ${BUILDNR} as Subsurface-mobile-$VERSION-${NAME}arm.apk"
    124124
    125 if [ "$1" = "release" ] || [ "$1" = "Release" ] || [ "$1" = "debug" ] || [ "$1" = "Debug" ] ; then
     125if [ "$1" = release ] || [ "$1" = Release ] || [ "$1" = debug ] || [ "$1" = Debug ] ; then
    126126        RELEASE=$1
    127127        shift
Note: See TracChangeset for help on using the changeset viewer.