From b63d56b0b4430de7273e3b759667a823927c0473 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 17 Sep 2019 17:24:39 -0700 Subject: scripts/build.sh: fix kokoro failure "KOKORO_BUILD_NIGHTLY: unbound variable" PiperOrigin-RevId: 269690988 --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index d73eaee77..5021dda49 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -47,7 +47,7 @@ install() { # current date. If the current commit happens to correpond to a tag, then we # will also move everything into a directory named after the given tag. if [[ -v KOKORO_ARTIFACTS_DIR ]]; then - if [[ "${KOKORO_BUILD_NIGHTLY}" == "true" ]]; then + if [[ "${KOKORO_BUILD_NIGHTLY:-false}" == "true" ]]; then # The "latest" directory and current date. stamp="$(date -Idate)" install "${KOKORO_ARTIFACTS_DIR}/nightly/latest" \ -- cgit v1.2.3