From 7fd22080e9b1933f67c3110d2af1b39982e5d2dc Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Fri, 9 Mar 2018 09:18:58 -0800 Subject: [PATCH] buildscripts: avoid unbound variable error (#4197) --- buildscripts/kokoro/android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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