Skip to content
Permalink
Browse files
fix: Add shopt -s nullglob to dependencies script (#1130) (#504)
This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs.
Source-Link: googleapis/synthtool@87254ac
Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a
  • Loading branch information
gcf-owl-bot[bot] committed Jun 23, 2021
1 parent a91c7ab commit d13f3494bb87e6f0b02106be8bd953b6a863eaa4
Showing with 2 additions and 1 deletion.
  1. +1 −1 .github/.OwlBot.lock.yaml
  2. +1 −0 .kokoro/dependencies.sh
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-java:latest
digest: sha256:117d9f1bef3342ea256419068dfaf65e5b2d126534ef0773c25ce71b8474f346
digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a
@@ -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]}"))

0 comments on commit d13f349

Please sign in to comment.