-
Notifications
You must be signed in to change notification settings - Fork 2
fix: POSIX compatible script to install #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the installation script to be POSIX-compatible by replacing Bash-specific syntax with portable shell alternatives, ensuring the script can run on systems using different shells like sh, dash, or ash.
Key Changes:
- Replaced Bash array syntax with POSIX-compatible positional parameters for iterating user paths
- Converted conditional grep pattern matching to case statement for checking PATH
- Added CI workflow tests to verify installation using both the GitHub Action and the shell script directly
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| script/install.sh | Converted Bash-specific constructs (arrays, grep conditionals) to POSIX-compliant alternatives |
| .github/workflows/ci.yml | Added two test jobs to validate installation via action and script execution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.