Skip to content

Fix INSTALL_DIR override syntax in docs and install.sh#2

Merged
rpgeeganage merged 2 commits into
mainfrom
copilot/override-install-command
Apr 7, 2026
Merged

Fix INSTALL_DIR override syntax in docs and install.sh#2
rpgeeganage merged 2 commits into
mainfrom
copilot/override-install-command

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

Setting INSTALL_DIR before curl passes it to the downloader process, not to the sh interpreter that runs the script — so the override had no effect.

Changes

  • README.md – Fix override example so INSTALL_DIR is passed to sh
  • install.sh – Fix usage comment to match correct syntax

Before (broken):

INSTALL_DIR="$HOME/.local/bin" curl -sSfL https://raw.githubusercontent.com/rpgeeganage/lazy-tool/main/install.sh | sh

After (correct):

curl -sSfL https://raw.githubusercontent.com/rpgeeganage/lazy-tool/main/install.sh | INSTALL_DIR="$HOME/.local/bin" sh

Copilot AI linked an issue Apr 7, 2026 that may be closed by this pull request
@rpgeeganage rpgeeganage requested a review from Copilot April 7, 2026 20:43
Copy link
Copy Markdown

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.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Update install command for overriding default behavior Fix INSTALL_DIR override syntax in docs and install.sh Apr 7, 2026
Copilot AI requested a review from rpgeeganage April 7, 2026 20:44
@rpgeeganage rpgeeganage requested a review from Copilot April 7, 2026 20:44
Copy link
Copy Markdown

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rpgeeganage rpgeeganage marked this pull request as ready for review April 7, 2026 20:46
@rpgeeganage rpgeeganage merged commit ff5bdab into main Apr 7, 2026
6 checks passed
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.

Overriding install command

3 participants