Skip to content

Commit 86359e0

Browse files
Fix build failure when no Overview.html files exist (#1166)
Add shopt -s nullglob so the Overview.html glob expands to nothing instead of the literal pattern when there are no matches, which was causing cp to fail.
1 parent 8dd30d1 commit 86359e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-specs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- name: Build specs
4040
run: |
4141
set -e
42+
shopt -s nullglob
4243
# Handle non-bikeshed specs.
4344
for file in ./**/Overview.html; do
4445
cp "$file" "$(dirname "$file")/index.html"

0 commit comments

Comments
 (0)