diff options
| author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-21 10:45:01 +0000 |
|---|---|---|
| committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-21 10:45:01 +0000 |
| commit | a847912da9a43e2d416570800e99951c4ec30f62 (patch) | |
| tree | 6c6f37ab1f28ba4af9bbffea18b81bfdb4634f97 /scripts/usage_compressed | |
| parent | 690975c57084a39804959ce6d9a6b20769d8c374 (diff) | |
| download | busybox-w32-a847912da9a43e2d416570800e99951c4ec30f62.tar.gz busybox-w32-a847912da9a43e2d416570800e99951c4ec30f62.tar.bz2 busybox-w32-a847912da9a43e2d416570800e99951c4ec30f62.zip | |
- check for existing usage binary, so it get's more obvious that the toplevel
Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
git-svn-id: svn://busybox.net/trunk/busybox@15153 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'scripts/usage_compressed')
| -rw-r--r-- | scripts/usage_compressed | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/usage_compressed b/scripts/usage_compressed index fa12e4063..ce672db3b 100644 --- a/scripts/usage_compressed +++ b/scripts/usage_compressed | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | loc="$1" | 3 | loc="$1" |
| 4 | 4 | ||
| 5 | test "$loc" || loc=. | 5 | test "$loc" || loc=. |
| 6 | test -x "$loc/usage" || exit 1 | ||
| 6 | 7 | ||
| 7 | echo 'static const char packed_usage[] = ' | 8 | echo 'static const char packed_usage[] = ' |
| 8 | "$loc"/usage | bzip2 -9 | od -v -t x1 \ | 9 | "$loc"/usage | bzip2 -9 | od -v -t x1 \ |
