gtest: Use whereis instead of which
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 26 Apr 2017 07:57:11 +0000 (09:57 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 17 May 2017 16:54:43 +0000 (16:54 +0000)
commiteba54fe003fe651369b8874ea9fa255c0ac3022d
tree3ce02effd510d76bb570387bdc8b91caec497058
parent4d7e6dfc4ed50e0d983d77aa55b4de0bc11a11c7
gtest: Use whereis instead of which

whereis command is more popular that which among GNU/Linux Distros:
Archlinux is not having which by default

For reference debian has them in different packages:

  util-linux: /usr/bin/whereis
  debianutils: /usr/bin/which

Bug: https://jira.iotivity.org/browse/IOT-2084
Change-Id: I1966a31df1281e7f28fb8ea40f3dc4514ba22713
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19345
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
extlibs/gtest/prep.sh