usage_compressed: be more permissive in which od flavors we support

This commit is contained in:
Denis Vlasenko 2007-02-03 12:45:43 +00:00
parent 4c97863109
commit 37c8f36357

View File

@ -14,6 +14,6 @@ exec >"$target"
echo 'static const char packed_usage[] = '
"$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 '#define SIZEOF_usage_messages' `expr 0 + $sz`