From f68649c5f26bcff6817c6d21e90dac0fc71fef8e Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Mon, 26 Oct 2020 13:44:04 -0400 Subject: [PATCH] chore(ci): fix typo in restrict presubmit samples ITs to only snapshot (#826) Fixes below error in Java repos when https://github.com/googleapis/synthtool/pull/804 was merged: ``` github/java-bigquerystorage/.kokoro/build.sh: line 81: pushd: {SAMPLES_DIR}: No such file or directory ``` Thanks @kolea2 for spotting this in Fusion build logs. cc @chingor13 --- synthtool/gcp/templates/java_library/.kokoro/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/java_library/.kokoro/build.sh b/synthtool/gcp/templates/java_library/.kokoro/build.sh index a00da5873..7a2547f4c 100755 --- a/synthtool/gcp/templates/java_library/.kokoro/build.sh +++ b/synthtool/gcp/templates/java_library/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \