6 test "$target" || exit 1
8 test -x "$loc/usage" || exit 1
14 echo '#define UNPACKED_USAGE "" \'
15 "$loc/usage" | od -v -t x1 \
16 | $SED -e 's/^[^ ]*//' \
19 -e 's/\(..\)/\\x\1/g' \
24 echo '#define PACKED_USAGE \'
25 ## Breaks on big-endian systems!
26 ## # Extra effort to avoid using "od -t x1": -t is not available
27 ## # in non-CONFIG_DESKTOPed busybox od
29 ## "$loc/usage" | bzip2 -1 | od -v -x \
30 ## | $SED -e 's/^[^ ]*//' \
33 ## -e 's/\(..\)\(..\)/0x\2,0x\1,/g'
35 "$loc/usage" | bzip2 -1 | $DD bs=2 skip=1 2>/dev/null | od -v -t x1 \
36 | $SED -e 's/^[^ ]*//' \
39 -e 's/\(..\)/0x\1,/g' \
43 if cmp -s "$target.$$" "$target" 2>/dev/null; then
46 mv -- "$target.$$" "$target"