From 6b27c53742486c5380a9c94ca1b6cb795342488b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 19 Jun 2021 22:39:45 +0000 Subject: [PATCH] fix: Add `shopt -s nullglob` to dependencies script (#1130) This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs. Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/dependencies.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index cd2e6d39e..a86dc465e 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:117d9f1bef3342ea256419068dfaf65e5b2d126534ef0773c25ce71b8474f346 + digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index a7e999d33..9030ba8f9 100755 --- a/.kokoro/dependencies.sh +++ b/.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]}"))