Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11151
-gerrit
commit 4ca029cf601fb155f64a833a567218e4682a4312 Author: Patrick Georgi patrick@georgi-clan.de Date: Mon Aug 10 10:21:14 2015 +0200
board_status: use command -v over which(1)
The script is pretty linux specific as-is, but more portability won't hurt.
Change-Id: I33e18606bea4e23043d748e3fe66a345e720d389 Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/board_status/board_status.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index ec98277..14d6514 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -38,10 +38,10 @@ test_cmd() fi
if [ "$1" -eq "$REMOTE" ] && [ -n "$REMOTE_HOST" ]; then - ssh root@${REMOTE_HOST} which "$2" > /dev/null + ssh root@${REMOTE_HOST} command -v "$2" > /dev/null rc=$? else - which "$2" >/dev/null + command -v "$2" >/dev/null rc=$? fi