aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 13:28:39 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 13:28:39 +0000
commitab8b075da791978301b4939594c54928c9438221 (patch)
treed8c72904e94b83f4fd79ae4a6ae9f5a1750c2da9
parent7d8ee0b97b2cc9ca0fcbbe140c055863feb0e5c8 (diff)
downloadbusybox-w32-ab8b075da791978301b4939594c54928c9438221.tar.gz
busybox-w32-ab8b075da791978301b4939594c54928c9438221.tar.bz2
busybox-w32-ab8b075da791978301b4939594c54928c9438221.zip
- use the SED given by the user
- use the portable `` instead of $(). There is no bbsh, so this is needed. git-svn-id: svn://busybox.net/trunk/busybox@15186 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--scripts/usage_compressed5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/usage_compressed b/scripts/usage_compressed
index ce672db3b..59e93e669 100644
--- a/scripts/usage_compressed
+++ b/scripts/usage_compressed
@@ -7,6 +7,7 @@ test -x "$loc/usage" || exit 1
7 7
8echo 'static const char packed_usage[] = ' 8echo 'static const char packed_usage[] = '
9"$loc"/usage | bzip2 -9 | od -v -t x1 \ 9"$loc"/usage | bzip2 -9 | od -v -t x1 \
10| sed -e 's/^[^ ]*//' -e 's/ \(..\)/\\x\1/g' -e 's/^\(.*\)$/"\1"/' 10| $SED -e 's/^[^ ]*//' -e 's/ \(..\)/\\x\1/g' -e 's/^\(.*\)$/"\1"/' || exit 1
11echo ';' 11echo ';'
12echo '#define SIZEOF_usage_messages' $((0 + `"$loc"/usage | wc -c `)) 12sz=`"$loc"/usage | wc -c` || exit 1
13echo '#define SIZEOF_usage_messages' `expr 0 + $sz`