Skip to content

Commit

Permalink
Update upload.sh: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Jul 1, 2023
1 parent 99c9059 commit 8a02579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ while [[ $# -gt 0 ]]; do
done
[[ $# -lt 3 || ${RET} -ne 0 ]] && usage_and_exit ${RET}
[[ ${HELP} == "true" ]] && usage_and_exit 0
[[ ${LOCAL} == "false" && -z ${REMOTE_NUM} ]] && useage_and_exit 1
[[ ${LOCAL} == "true" && -n ${REMOTE_NUM} ]] && useage_and_exit 1
[[ ${LOCAL} == "false" && -z ${REMOTE_NUM} ]] && usage_and_exit 1
[[ ${LOCAL} == "true" && -n ${REMOTE_NUM} ]] && usage_and_exit 1

FILE_TO_UPLOAD="${1}"
if [[ ! -f ${FILE_TO_UPLOAD} ]]; then
Expand Down

0 comments on commit 8a02579

Please sign in to comment.