Skip to content

Commit 4577d4d

Browse files
fix: Add shopt -s nullglob to dependencies script
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 e200c39 commit 4577d4d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.kokoro/dependencies.sh

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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)