[misc] 01/01: prebuilder: Improve error message.
Daniel Shahaf
danielsh at apache.org
Mon May 22 10:43:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
danielsh-guest pushed a commit to branch master
in repository misc.
commit 0043e6fcb51843f3dbbd84f5453144ecc56be929
Author: Daniel Shahaf <danielsh at apache.org>
Date: Mon May 22 10:42:43 2017 +0000
prebuilder: Improve error message.
---
prebuilder/rebuild.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index fc6f2fa..d839634 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -44,8 +44,8 @@ else
BUILDER_OPTS="--basetgz $BASEPATH"
fi
-if [ $# -eq 0 ]; then
- echo "usage: $0 [-b basepath] [-c] package_name"
+if [ $# -ne 1 ]; then
+ usage >&2
exit 1
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list