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_()
#
EOF
which bash > /dev/null
which git > /dev/null
which unzip > /dev/null
which wget > /dev/null
whereis bash > /dev/null || echo "error: please install: bash"
whereis git > /dev/null || echo "error: please install: git"
whereis unzip > /dev/null || echo "error: please install: unzip"
whereis wget > /dev/null || echo "error: please install: wget"
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