diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-16 15:46:20 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-16 15:46:20 +0200 |
commit | 0fdf2e1026bed831e3254843e27b0577c9908030 (patch) | |
tree | c8f340f5c8e5c029b0ad2d3d51e867ea3560e59a | |
parent | 06a80bdbea6237257bd3de4919243cba57493b42 (diff) | |
download | busybox-w32-0fdf2e1026bed831e3254843e27b0577c9908030.tar.gz busybox-w32-0fdf2e1026bed831e3254843e27b0577c9908030.tar.bz2 busybox-w32-0fdf2e1026bed831e3254843e27b0577c9908030.zip |
simpler check for od
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rwxr-xr-x | applets/usage_compressed | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/usage_compressed b/applets/usage_compressed index 9436dcd5d..af66bc5dc 100755 --- a/applets/usage_compressed +++ b/applets/usage_compressed | |||
@@ -9,7 +9,8 @@ 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 | 12 | # Some people were bitten by their system lacking a (proper) od |
13 | od -v -t x1 </dev/null >/dev/null | ||
13 | if test $? != 0; then | 14 | if test $? != 0; then |
14 | echo 'od tool is not installed or cannot accept "-v -t x1" options' | 15 | echo 'od tool is not installed or cannot accept "-v -t x1" options' |
15 | exit 1 | 16 | exit 1 |