gruntwork-io / gruntwork-io/gruntwork-installer

Issues with fetch and PATH

Open
#17 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
92
Forks
55
PR merge metrics
No merged PRs in 30d

Description

`bootstrap-gruntwork-installer.sh` installs `fetch` into `/usr/local/bin`. Depending on the OS and the user (e.g., root), this directory is not always on the `PATH`. As a result, the call to `fetch` in `gruntwork-install` may fail.

We should either (1) call `fetch` from an absolute path in `gruntwork-install` or (2) install `fetch` into something more likely to be on the `PATH`, such as `/usr/bin`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect bootstrap-gruntwork-installer.sh and the fetch call in gruntwork-install, then check behavior when /usr/local/bin is absent from PATH, including for root. Confirm the chosen path-handling approach works across the affected OS and that gruntwork-install can invoke fetch successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
cli, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.