Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix: Add
shopt -s nullglob
to dependencies script (#1130) (#464)
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
Showing
with
2 additions
and 1 deletion.
- +1 −1 .github/.OwlBot.lock.yaml
- +1 −0 .kokoro/dependencies.sh
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,3 +1,3 @@ | ||
docker: | ||
image: gcr.io/repo-automation-bots/owlbot-java:latest | ||
digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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]}")) | ||