[Merged by Bors] - fix: address shellcheck warnings in create-adaptation-pr.sh - #34286
[Merged by Bors] - fix: address shellcheck warnings in create-adaptation-pr.sh#34286kim-em wants to merge 3 commits into
Conversation
PR summary 725d7a32b7Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
Addresses all shellcheck warnings in `scripts/create-adaptation-pr.sh`: - Quote variables to prevent globbing/word splitting (SC2086) - Use `$(...)` instead of legacy backticks (SC2006) - Add `-r` flag to `read` commands (SC2162) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1062c7c to
26e34ec
Compare
joneugster
left a comment
There was a problem hiding this comment.
Thank you!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by joneugster. |
|
These changes look good, thanks! I just wonder if bors d+ |
|
✌️ kim-em can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Good catch! You're right that I should quote all the variables for consistency. I'll push an update to fix all remaining shellcheck warnings. |
Per shellcheck SC2086 warnings, quote all variable references to prevent globbing and word splitting. This addresses the remaining warnings that were missed in the initial shellcheck cleanup. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
All shellcheck warnings have been addressed. The script now passes |
|
bors merge |
This PR addresses all shellcheck warnings in `scripts/create-adaptation-pr.sh`: - Quote variables to prevent globbing/word splitting ([SC2086](https://www.shellcheck.net/wiki/SC2086)) - Use `$(...)` instead of legacy backticks ([SC2006](https://www.shellcheck.net/wiki/SC2006)) - Add `-r` flag to `read` commands ([SC2162](https://www.shellcheck.net/wiki/SC2162)) **Related PRs:** - leanprover/cslib#203 (cslib) - leanprover-community/batteries#1624 (batteries) 🤖 Prepared with Claude Code
|
Pull request successfully merged into master. Build succeeded: |
My pleasure Clau... Kim! |
…er-community#34286) This PR addresses all shellcheck warnings in `scripts/create-adaptation-pr.sh`: - Quote variables to prevent globbing/word splitting ([SC2086](https://www.shellcheck.net/wiki/SC2086)) - Use `$(...)` instead of legacy backticks ([SC2006](https://www.shellcheck.net/wiki/SC2006)) - Add `-r` flag to `read` commands ([SC2162](https://www.shellcheck.net/wiki/SC2162)) **Related PRs:** - leanprover/cslib#203 (cslib) - leanprover-community/batteries#1624 (batteries) 🤖 Prepared with Claude Code
This PR addresses all shellcheck warnings in
scripts/create-adaptation-pr.sh:$(...)instead of legacy backticks (SC2006)-rflag toreadcommands (SC2162)Related PRs:
🤖 Prepared with Claude Code