aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android/android-build-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/android/android-build-wrapper.sh')
-rw-r--r--packaging/android/android-build-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh
index cb98fc9ef..b111e2939 100644
--- a/packaging/android/android-build-wrapper.sh
+++ b/packaging/android/android-build-wrapper.sh
@@ -40,7 +40,7 @@ fi
# make sure we have the required commands installed
MISSING=""
for i in git cmake autoconf libtool java ant wget unzip; do
- which $i > /dev/null 2>&1 ||
+ command -v $i >/dev/null ||
if [ "$i" = "libtool" ] ; then
MISSING="${MISSING}libtool-bin "
elif [ "$i" = "java" ] ; then