summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-21 10:45:01 +0000
committerBernhard Reutner-Fischer2006-05-21 10:45:01 +0000
commita1e130f122c7fdc69ddf9e9937458530eff185ac (patch)
tree6c6f37ab1f28ba4af9bbffea18b81bfdb4634f97
parent3c8c0690fd42fd65f0e35ae8f6fcbb92ab7701be (diff)
downloadbusybox-a1e130f122c7fdc69ddf9e9937458530eff185ac.zip
busybox-a1e130f122c7fdc69ddf9e9937458530eff185ac.tar.gz
- 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)
-rw-r--r--scripts/usage_compressed1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/usage_compressed b/scripts/usage_compressed
index fa12e40..ce672db 100644
--- a/scripts/usage_compressed
+++ b/scripts/usage_compressed
@@ -3,6 +3,7 @@
loc="$1"
test "$loc" || loc=.
+test -x "$loc/usage" || exit 1
echo 'static const char packed_usage[] = '
"$loc"/usage | bzip2 -9 | od -v -t x1 \