mirror of
https://git.busybox.net/busybox.git
synced 2024-11-24 06:03:27 +08:00
usage_compressed: be more permissive in which od flavors we support
This commit is contained in:
parent
4c97863109
commit
37c8f36357
@ -14,6 +14,6 @@ exec >"$target"
|
|||||||
|
|
||||||
echo 'static const char packed_usage[] = '
|
echo 'static const char packed_usage[] = '
|
||||||
"$loc/usage" | bzip2 -1 | od -v -t x1 \
|
"$loc/usage" | bzip2 -1 | od -v -t x1 \
|
||||||
| $SED -e 's/^[^ ]*//' -e 's/ \(..\)/\\x\1/g' -e 's/^\(.*\)$/"\1"/'
|
| $SED -e 's/^[^ ]*//' -e 's/ *\(..\)/\\x\1/g' -e 's/^\(.*\)$/"\1"/'
|
||||||
echo ';'
|
echo ';'
|
||||||
echo '#define SIZEOF_usage_messages' `expr 0 + $sz`
|
echo '#define SIZEOF_usage_messages' `expr 0 + $sz`
|
||||||
|
Loading…
Reference in New Issue
Block a user