diff options
Diffstat (limited to 'scripts/release/common.sh')
-rwxr-xr-x | scripts/release/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release/common.sh b/scripts/release/common.sh index 7cd6d0b61e..ca8ebd45d7 100755 --- a/scripts/release/common.sh +++ b/scripts/release/common.sh @@ -89,7 +89,7 @@ function get_release_notes() { # candidate in this release. function get_release_branch() { local branch_name=$(git_get_branch) - if [ -z "$(get_release_name)" -o -z "$(get_release_candidate)" ]; then + if [ -z "$(get_release_name)" ] || [ -z "$(get_release_candidate)" ]; then echo "Not a release branch: ${branch_name}." >&2 exit 1 fi |