From 06a80bdbea6237257bd3de4919243cba57493b42 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 16 Sep 2010 13:23:15 +0200 Subject: build system: test that od is present in the host system Signed-off-by: Denys Vlasenko --- applets/usage_compressed | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'applets/usage_compressed') diff --git a/applets/usage_compressed b/applets/usage_compressed index e1fd0d9..9436dcd 100755 --- a/applets/usage_compressed +++ b/applets/usage_compressed @@ -9,6 +9,12 @@ test -x "$loc/usage" || exit 1 test "$SED" || SED=sed test "$DD" || DD=dd +true | od -v -t x1 >/dev/null +if test $? != 0; then + echo 'od tool is not installed or cannot accept "-v -t x1" options' + exit 1 +fi + exec >"$target.$$" echo '#define UNPACKED_USAGE "" \' -- cgit v1.1