diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-16 13:23:15 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-16 13:23:15 +0200 |
commit | 06a80bdbea6237257bd3de4919243cba57493b42 (patch) | |
tree | 64c5f02a4337b2545e186350522f79bc4dd2a8b0 | |
parent | bed7c81ea24e9e9ba2a897e233de2abefe611e8b (diff) | |
download | busybox-w32-06a80bdbea6237257bd3de4919243cba57493b42.tar.gz busybox-w32-06a80bdbea6237257bd3de4919243cba57493b42.tar.bz2 busybox-w32-06a80bdbea6237257bd3de4919243cba57493b42.zip |
build system: test that od is present in the host system
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rwxr-xr-x | applets/usage_compressed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applets/usage_compressed b/applets/usage_compressed index e1fd0d94d..9436dcd5d 100755 --- a/applets/usage_compressed +++ b/applets/usage_compressed | |||
@@ -9,6 +9,12 @@ test -x "$loc/usage" || exit 1 | |||
9 | test "$SED" || SED=sed | 9 | test "$SED" || SED=sed |
10 | test "$DD" || DD=dd | 10 | test "$DD" || DD=dd |
11 | 11 | ||
12 | true | od -v -t x1 >/dev/null | ||
13 | if test $? != 0; then | ||
14 | echo 'od tool is not installed or cannot accept "-v -t x1" options' | ||
15 | exit 1 | ||
16 | fi | ||
17 | |||
12 | exec >"$target.$$" | 18 | exec >"$target.$$" |
13 | 19 | ||
14 | echo '#define UNPACKED_USAGE "" \' | 20 | echo '#define UNPACKED_USAGE "" \' |