mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Fix the beam staging script, take 3 (#1370)
The number of arguments changed in https://github.com/google/nomulus/pull/1369, so the check needs to change as well. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1370) <!-- Reviewable:end -->
This commit is contained in:
parent
6a44565acd
commit
6cb0cf5f6d
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if (( "$#" < 5 || $(("$#" % 2)) == 0 ));
|
if (( "$#" < 6 || $(("$#" % 2)) == 1 ));
|
||||||
then
|
then
|
||||||
echo "Usage: $0 uberjar_task uberjar_name release_tag dev_project " \
|
echo "Usage: $0 uberjar_task uberjar_name release_tag dev_project " \
|
||||||
"main_class metadata_pathname [ main_class metadata_pathname ] ..."
|
"main_class metadata_pathname [ main_class metadata_pathname ] ..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue