Commit 4d6c9856 authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

build: Use whereis instead of which

This was needed for Tizen

Change-Id: I0273e51b9faccbb5ddc86959935654676890e7c6
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18853Reviewed-by: default avatarKevin Kane <kkane@microsoft.com>
Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: default avatarDave Thaler <dthaler@microsoft.com>
parent 8893332b
...@@ -30,10 +30,10 @@ main_() ...@@ -30,10 +30,10 @@ main_()
# #
EOF EOF
which bash > /dev/null whereis bash > /dev/null || echo "error: please install: bash"
which git > /dev/null whereis git > /dev/null || echo "error: please install: git"
which unzip > /dev/null whereis unzip > /dev/null || echo "error: please install: unzip"
which wget > /dev/null whereis wget > /dev/null || echo "error: please install: wget"
find ./extlibs/ -maxdepth 2 -a -iname "prep.sh" | xargs -n1 bash find ./extlibs/ -maxdepth 2 -a -iname "prep.sh" | xargs -n1 bash
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment