mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
simpler check for od
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
06a80bdbea
commit
0fdf2e1026
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ test -x "$loc/usage" || exit 1
|
|||
test "$SED" || SED=sed
|
||||
test "$DD" || DD=dd
|
||||
|
||||
true | od -v -t x1 >/dev/null
|
||||
# Some people were bitten by their system lacking a (proper) od
|
||||
od -v -t x1 </dev/null >/dev/null
|
||||
if test $? != 0; then
|
||||
echo 'od tool is not installed or cannot accept "-v -t x1" options'
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue