Fix warnings introduced in shellcheck v0.6.0

Zcash: Only for shell scripts we have backported.
This commit is contained in:
practicalswift 2019-01-16 15:24:32 +01:00 committed by Jack Grigg
parent 8ed37f5f40
commit 68393a4b73
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ while getopts "?" opt; do
done
if [ -z "${TRAVIS_COMMIT_RANGE}" ]; then
if [ "$1" ]; then
if [ -n "$1" ]; then
TRAVIS_COMMIT_RANGE="HEAD~$1...HEAD"
else
TRAVIS_COMMIT_RANGE="HEAD"