diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-21 10:45:01 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-21 10:45:01 +0000 |
| commit | a1e130f122c7fdc69ddf9e9937458530eff185ac (patch) | |
| tree | 6c6f37ab1f28ba4af9bbffea18b81bfdb4634f97 /scripts/usage_compressed | |
| parent | 3c8c0690fd42fd65f0e35ae8f6fcbb92ab7701be (diff) | |
| download | busybox-w32-a1e130f122c7fdc69ddf9e9937458530eff185ac.tar.gz busybox-w32-a1e130f122c7fdc69ddf9e9937458530eff185ac.tar.bz2 busybox-w32-a1e130f122c7fdc69ddf9e9937458530eff185ac.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)
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 \ |
