From 3a9e25c6ff77d227ec28c46a4cfdf20e982305d3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Jun 2021 13:15:46 -0700 Subject: [PATCH] fix: Add `shopt -s nullglob` to dependencies script (#392) This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs. Source-Author: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com> Source-Date: Sat Jun 19 18:35:58 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 87254ac89a9559864c0a245d6b150406439ce3d8 Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 --- java-shared-dependencies/.kokoro/dependencies.sh | 1 + java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index a7e999d33b..9030ba8f99 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -14,6 +14,7 @@ # limitations under the License. set -eo pipefail +shopt -s nullglob ## Get the directory of the build script scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 97d521320d..3f2c63972e 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca" + "sha": "7b87c9aff5604dd894296a641fb34a3e8a73395c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e" + "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" } } ],