usage_compressed: be more permissive in which od flavors we support
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2007 12:45:43 +0000 (12:45 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2007 12:45:43 +0000 (12:45 -0000)
applets/usage_compressed

index ab164aa129690c5328f5714694d6bdf778e69661..fd581cc66cc500ef81976ca38edc7c8aa738a92b 100755 (executable)
@@ -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`