buildscripts: avoid unbound variable error (#4197)

This commit is contained in:
Eric Gribkoff 2018-03-09 09:18:58 -08:00 committed by GitHub
parent 4369e8cd9a
commit 7fd22080e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ cd ../helloworld
# Skip APK size and dex count comparisons for non-PR builds
if [[ -z "$KOKORO_GITHUB_PULL_REQUEST_COMMIT" ]]; then
if [[ -z "${KOKORO_GITHUB_PULL_REQUEST_COMMIT:-}" ]]; then
echo "Skipping APK size and dex count"
exit 0
fi