Changeset 9470278e in subsurface


Ignore:
Timestamp:
Feb 9, 2017, 9:31:11 PM (3 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
1c33951
Parents:
0e7d899
git-author:
Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@…> (02/08/17 09:03:22)
git-committer:
Dirk Hohndel <dirk@…> (02/09/17 21:31:11)
Message:

Use `command' (shell builtin and POSIX) instead

The `which' command is a fork and possible not standard in various
distributions, or builtin in certain (odd)? shells, like `zsh'.

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

    rbed5ad3 r9470278e  
    4141MISSING=""
    4242for i in git cmake autoconf libtool java ant wget unzip; do
    43         which $i > /dev/null 2>&1 ||
     43        command -v $i >/dev/null ||
    4444                if [ "$i" = "libtool" ] ; then
    4545                        MISSING="${MISSING}libtool-bin "
Note: See TracChangeset for help on using the changeset viewer.