Skip to content

Conversation

@gorkarevilla
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a 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.

@gorkarevilla gorkarevilla merged commit 2dd98f0 into main Nov 7, 2025
3 of 5 checks passed
@gorkarevilla gorkarevilla deleted the fix/sh_shell branch November 7, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants