Skip to content

Commit

Permalink
fix: Add shopt -s nullglob to dependencies script (#392)
Browse files Browse the repository at this point in the history
This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs.

Source-Author: dpcollins-google <[email protected]>
Source-Date: Sat Jun 19 18:35:58 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 87254ac89a9559864c0a245d6b150406439ce3d8
Source-Link: googleapis/synthtool@87254ac
  • Loading branch information
yoshi-automation authored Jun 29, 2021
1 parent 828c3f3 commit 3a9e25c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions java-shared-dependencies/.kokoro/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]}"))
Expand Down
4 changes: 2 additions & 2 deletions java-shared-dependencies/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
],
Expand Down

0 comments on commit 3a9e25c

Please sign in to comment.