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

Source-Author: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com>
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 committed Jun 21, 2021
1 parent 24d1c46 commit 593ab3cd1d6ba234a69ccbde246f257de67880a2
Showing with 3 additions and 2 deletions.
  1. +1 −0 .kokoro/dependencies.sh
  2. +2 −2 synth.metadata
@@ -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]}"))
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryreservation.git",
"sha": "04571a44cb882a570a2b28ae81aa97541e6eeab2"
"sha": "24d1c46d2557c28d4bdf3eac49d57aba6112a2ff"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e"
"sha": "87254ac89a9559864c0a245d6b150406439ce3d8"
}
}
],

0 comments on commit 593ab3c

Please sign in to comment.