chore: add missing : after options in publish scripts (#1134)

Not including the colon means that the option parsing mechanism is not
expecting an argument for the `-t` and the `-p` option (for
`bintray-debian.sh` and `aws-s3.sh` respectively), and thus `$OPTARG`
will be undefined.

Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2017-02-27 17:06:02 -04:00 committed by GitHub
parent 8d71307831
commit 311dcd27a8
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ ARGV_BUCKET=""
ARGV_VERSION=""
ARGV_PRODUCT_NAME=""
while getopts ":f:b:v:p" option; do
while getopts ":f:b:v:p:" option; do
case $option in
f) ARGV_FILE="$OPTARG" ;;
b) ARGV_BUCKET="$OPTARG" ;;

View File

@ -41,7 +41,7 @@ ARGV_ARCHITECTURE=""
ARGV_COMPONENT_NAME=""
ARGV_RELEASE_TYPE=""
while getopts ":f:v:r:c:t" option; do
while getopts ":f:v:r:c:t:" option; do
case $option in
f) ARGV_FILE="$OPTARG" ;;
v) ARGV_VERSION="$OPTARG" ;;