Skip to content
Permalink
Browse files
fix: Add shopt -s nullglob to dependencies script (#1130) (#516)
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 65acfbe commit 68759da8cced165e6f0a883eeeb918f6752dce25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -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 68759da

Please sign in to comment.