diff --git a/buildscripts/kokoro/android.sh b/buildscripts/kokoro/android.sh index 47ff54c32d..2a20eb74eb 100755 --- a/buildscripts/kokoro/android.sh +++ b/buildscripts/kokoro/android.sh @@ -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