Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit f8f29df

Browse files
fix: Add shopt -s nullglob to dependencies script (#392)
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
1 parent be78ad8 commit f8f29df

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.kokoro/dependencies.sh

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# limitations under the License.
1515

1616
set -eo pipefail
17+
shopt -s nullglob
1718

1819
## Get the directory of the build script
1920
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))

synth.metadata

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-shared-dependencies.git",
7-
"sha": "7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca"
7+
"sha": "7b87c9aff5604dd894296a641fb34a3e8a73395c"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e"
14+
"sha": "87254ac89a9559864c0a245d6b150406439ce3d8"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)