aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "" \'