Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-16 15:23:15 +0400
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-16 15:23:15 +0400
commit06a80bdbea6237257bd3de4919243cba57493b42 (patch)
tree64c5f02a4337b2545e186350522f79bc4dd2a8b0 /applets
parentbed7c81ea24e9e9ba2a897e233de2abefe611e8b (diff)
build system: test that od is present in the host system
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/usage_compressed6
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
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 "" \'